forwardMessage method

Future<String> forwardMessage({
  1. required String receiverId,
  2. required String data,
  3. dynamic hint,
})
override

Implementation

Future<String> forwardMessage(
    {required String receiverId, required String data, dynamic hint}) {
  var arg0 = _platform.api2wire_String(receiverId);
  var arg1 = _platform.api2wire_String(data);
  return _platform.executeNormal(FlutterRustBridgeTask(
    callFfi: (port_) =>
        _platform.inner.wire_forward_message(port_, arg0, arg1),
    parseSuccessData: _wire2api_String,
    parseErrorData: null,
    constMeta: kForwardMessageConstMeta,
    argValues: [receiverId, data],
    hint: hint,
  ));
}