activeConnections property
List<NetworkManagerActiveConnection>
activeConnections
Currently active connections.
Implementation
List<NetworkManagerActiveConnection> get activeConnections {
var connectionObjectPaths = _manager?.getObjectPathArrayProperty(
_managerInterfaceName,
'ActiveConnections',
) ??
[];
var connections = <NetworkManagerActiveConnection>[];
for (var objectPath in connectionObjectPaths) {
var connection = _objects[objectPath];
if (connection != null) {
connections.add(NetworkManagerActiveConnection(this, connection));
}
}
return connections;
}