callReadAlias method

Future<DBusObjectPath> callReadAlias(
  1. String name, {
  2. bool noAutoStart = false,
  3. bool allowInteractiveAuthorization = false,
})

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

Implementation

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