nm 0.0.0-dev.2 nm: ^0.0.0-dev.2 copied to clipboard
Provides a client to connect to NetworkManager - the service that manages network connections on Linux.
import 'package:dbus/dbus.dart';
import 'package:nm/nm.dart';
void main() async {
var systemBus = DBusClient.system();
var client = NetworkManagerClient(systemBus);
await client.connect();
print('Running NetworkManager ${client.version}');
await systemBus.close();
}