udisks 0.0.0-dev.1 udisks: ^0.0.0-dev.1 copied to clipboard
Provides a client to connect to UDisks - the service that ca access and manipulate disks, storage devices and technologies on Linux.
import 'package:dbus/dbus.dart';
import 'package:udisks/udisks.dart';
void main() async {
var systemBus = DBusClient.system();
var client = UDisksClient(systemBus);
await client.connect();
print('Running UDisks ${client.version}');
await systemBus.close();
}