Closed jpnurmi closed 3 years ago
Before:
print(device); // Instance of 'NetworkManagerDevice' print(connection); // Instance of 'NetworkManagerActiveConnection'
After:
print(device); // NetworkManagerDevice(path: /org/freedesktop/NetworkManager/Devices/1) print(connection); // NetworkManagerActiveConnection(path: /org/freedesktop/NetworkManager/ActiveConnection/1)
Perhaps a bit verbose, but helps to keep track of what is what... :slightly_smiling_face:
Oh, I didn't know you could do $runtimeType - that will be super useful! :)
$runtimeType
Before:
After:
Perhaps a bit verbose, but helps to keep track of what is what... :slightly_smiling_face: