callSetSecret method

Future<void> callSetSecret(
  1. List<DBusValue> secret, {
  2. bool noAutoStart = false,
  3. bool allowInteractiveAuthorization = false,
})

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

Implementation

Future<void> callSetSecret(
  List<DBusValue> secret, {
  bool noAutoStart = false,
  bool allowInteractiveAuthorization = false,
}) async {
  await callMethod(
    'org.freedesktop.Secret.Item',
    'SetSecret',
    [DBusStruct(secret)],
    replySignature: DBusSignature(''),
    noAutoStart: noAutoStart,
    allowInteractiveAuthorization: allowInteractiveAuthorization,
  );
}