devices property

Devices this connection uses.

Implementation

List<NetworkManagerDevice> get devices {
  var deviceObjectPaths = _object.getObjectPathArrayProperty(
        _activeConnectionInterfaceName,
        'Devices',
      ) ??
      [];
  var devices = <NetworkManagerDevice>[];
  for (var objectPath in deviceObjectPaths) {
    var device = _client._getDevice(objectPath);
    if (device != null) {
      devices.add(device);
    }
  }
  return devices;
}