signMessage method

Future<String> signMessage({
  1. required String message,
  2. required String key,
  3. dynamic hint,
})
override

Implementation

Future<String> signMessage(
    {required String message, required String key, dynamic hint}) {
  var arg0 = _platform.api2wire_String(message);
  var arg1 = _platform.api2wire_String(key);
  return _platform.executeNormal(FlutterRustBridgeTask(
    callFfi: (port_) => _platform.inner.wire_sign_message(port_, arg0, arg1),
    parseSuccessData: _wire2api_String,
    constMeta: kSignMessageConstMeta,
    argValues: [message, key],
    hint: hint,
  ));
}