signToCesr method

Future<String> signToCesr({
  1. required Identifier identifier,
  2. required String data,
  3. required Signature signature,
  4. dynamic hint,
})
override

Implementation

Future<String> signToCesr(
    {required Identifier identifier,
    required String data,
    required Signature signature,
    dynamic hint}) {
  var arg0 = _platform.api2wire_box_autoadd_identifier(identifier);
  var arg1 = _platform.api2wire_String(data);
  var arg2 = _platform.api2wire_box_autoadd_signature(signature);
  return _platform.executeNormal(FlutterRustBridgeTask(
    callFfi: (port_) =>
        _platform.inner.wire_sign_to_cesr(port_, arg0, arg1, arg2),
    parseSuccessData: _wire2api_String,
    constMeta: kSignToCesrConstMeta,
    argValues: [identifier, data, signature],
    hint: hint,
  ));
}