callLock method
Invokes org.freedesktop.Secret.Service.Lock()
Implementation
Future<(List<DBusObjectPath> locked, DBusObjectPath Prompt)> callLock(
List<DBusObjectPath> objects, {
bool noAutoStart = false,
bool allowInteractiveAuthorization = false,
}) async {
var result = await callMethod(
'org.freedesktop.Secret.Service',
'Lock',
[DBusArray.objectPath(objects)],
replySignature: DBusSignature('aoo'),
noAutoStart: noAutoStart,
allowInteractiveAuthorization: allowInteractiveAuthorization,
);
return (result.returnValues[0].asObjectPathArray().toList(), result.returnValues[1].asObjectPath());
}