revokeCredential method

Future<String> revokeCredential({
  1. required Identifier identifier,
  2. required String credentialSaid,
  3. dynamic hint,
})
override

Implementation

Future<String> revokeCredential(
    {required Identifier identifier,
    required String credentialSaid,
    dynamic hint}) {
  var arg0 = _platform.api2wire_box_autoadd_identifier(identifier);
  var arg1 = _platform.api2wire_String(credentialSaid);
  return _platform.executeNormal(FlutterRustBridgeTask(
    callFfi: (port_) =>
        _platform.inner.wire_revoke_credential(port_, arg0, arg1),
    parseSuccessData: _wire2api_String,
    constMeta: kRevokeCredentialConstMeta,
    argValues: [identifier, credentialSaid],
    hint: hint,
  ));
}