listNames method
Lists the registered names on the bus.
Implementation
Future<List<String>> listNames() async {
var result = await callMethod(
destination: 'org.freedesktop.DBus',
path: DBusObjectPath('/org/freedesktop/DBus'),
interface: 'org.freedesktop.DBus',
name: 'ListNames',
replySignature: DBusSignature('as'));
return result.returnValues[0].asStringArray().toList();
}