slaves property

Devices which are currently enslaved to this device.

Implementation

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