callUnregister method

Future<Map<String, DBusValue>> callUnregister(
  1. Map<String, DBusValue> args, {
  2. bool noAutoStart = false,
  3. bool allowInteractiveAuthorization = false,
})

Invokes org.unifiedpush.Distributor2.Unregister()

Implementation

Future<Map<String, DBusValue>> callUnregister(
  Map<String, DBusValue> args, {
  bool noAutoStart = false,
  bool allowInteractiveAuthorization = false,
}) async {
  var result = await callMethod(
    'org.unifiedpush.Distributor2',
    'Unregister',
    [DBusDict.stringVariant(args)],
    replySignature: DBusSignature('a{sv}'),
    noAutoStart: noAutoStart,
    allowInteractiveAuthorization: allowInteractiveAuthorization,
  );
  return result.returnValues[0].asStringVariantDict();
}