callGetSecret method

Future<List<DBusValue>> callGetSecret(
  1. DBusObjectPath session, {
  2. bool noAutoStart = false,
  3. bool allowInteractiveAuthorization = false,
})

Invokes org.freedesktop.Secret.Item.GetSecret()

Implementation

Future<List<DBusValue>> callGetSecret(
  DBusObjectPath session, {
  bool noAutoStart = false,
  bool allowInteractiveAuthorization = false,
}) async {
  var result = await callMethod(
    'org.freedesktop.Secret.Item',
    'GetSecret',
    [session],
    replySignature: DBusSignature('(oayays)'),
    noAutoStart: noAutoStart,
    allowInteractiveAuthorization: allowInteractiveAuthorization,
  );
  return result.returnValues[0].asStruct();
}