issueCredential method

Future<IssuanceData> issueCredential({
  1. required Identifier identifier,
  2. required String credential,
  3. dynamic hint,
})
override

Implementation

Future<IssuanceData> issueCredential(
    {required Identifier identifier,
    required String credential,
    dynamic hint}) {
  var arg0 = _platform.api2wire_box_autoadd_identifier(identifier);
  var arg1 = _platform.api2wire_String(credential);
  return _platform.executeNormal(FlutterRustBridgeTask(
    callFfi: (port_) =>
        _platform.inner.wire_issue_credential(port_, arg0, arg1),
    parseSuccessData: _wire2api_issuance_data,
    constMeta: kIssueCredentialConstMeta,
    argValues: [identifier, credential],
    hint: hint,
  ));
}