callGetDisplayDevice method
Invokes org.freedesktop.UPower.GetDisplayDevice()
Implementation
Future<DBusObjectPath> callGetDisplayDevice({
bool noAutoStart = false,
bool allowInteractiveAuthorization = false,
}) async {
var result = await callMethod(
'org.freedesktop.UPower',
'GetDisplayDevice',
[],
replySignature: DBusSignature('o'),
noAutoStart: noAutoStart,
allowInteractiveAuthorization: allowInteractiveAuthorization,
);
return result.returnValues[0].asObjectPath();
}