availableConnections property

List<NetworkManagerSettingsConnection> availableConnections

Implementation

List<NetworkManagerSettingsConnection> get availableConnections {
  var objectPaths = _object.getObjectPathArrayProperty(
          _deviceInterfaceName, 'AvailableConnections') ??
      [];
  var connections = <NetworkManagerSettingsConnection>[];
  for (var objectPath in objectPaths) {
    var connection = _client._getConnection(objectPath);
    if (connection != null) {
      connections.add(connection);
    }
  }
  return connections;
}