ping method
Sends a ping request to the client at the given destination
.
If destination
is not set, pings the D-Bus server.
Implementation
Future<void> ping([String destination = 'org.freedesktop.DBus']) async {
await callMethod(
destination: destination,
path: DBusObjectPath.root,
interface: 'org.freedesktop.DBus.Peer',
name: 'Ping',
replySignature: DBusSignature(''));
}