signMessage method

Future<SignMessageResponse> signMessage({
  1. required SignMessageRequest req,
  2. dynamic hint,
})
override

See BreezServices::sign_message

Implementation

Future<SignMessageResponse> signMessage({required SignMessageRequest req, dynamic hint}) {
  var arg0 = _platform.api2wire_box_autoadd_sign_message_request(req);
  return _platform.executeNormal(FlutterRustBridgeTask(
    callFfi: (port_) => _platform.inner.wire_sign_message(port_, arg0),
    parseSuccessData: _wire2api_sign_message_response,
    parseErrorData: _wire2api_FrbAnyhowException,
    constMeta: kSignMessageConstMeta,
    argValues: [req],
    hint: hint,
  ));
}