callScreenshot method
Invokes org.freedesktop.portal.Screenshot.Screenshot()
Implementation
Future<DBusObjectPath> callScreenshot(
String parentWindow, Map<String, DBusValue> options,
{bool noAutoStart = false,
bool allowInteractiveAuthorization = false}) async {
var result = await callMethod(
'org.freedesktop.portal.Screenshot',
'Screenshot',
[DBusString(parentWindow), DBusDict.stringVariant(options)],
replySignature: DBusSignature('o'),
noAutoStart: noAutoStart,
allowInteractiveAuthorization: allowInteractiveAuthorization);
return result.returnValues[0].asObjectPath();
}