callChangeLock method

Future<DBusObjectPath> callChangeLock(
  1. DBusObjectPath collection, {
  2. bool noAutoStart = false,
  3. bool allowInteractiveAuthorization = false,
})

Invokes org.freedesktop.Secret.Service.ChangeLock()

Implementation

Future<DBusObjectPath> callChangeLock(
  DBusObjectPath collection, {
  bool noAutoStart = false,
  bool allowInteractiveAuthorization = false,
}) async {
  var result = await callMethod(
    'org.freedesktop.Secret.Service',
    'ChangeLock',
    [collection],
    replySignature: DBusSignature('o'),
    noAutoStart: noAutoStart,
    allowInteractiveAuthorization: allowInteractiveAuthorization,
  );
  return result.returnValues[0].asObjectPath();
}