queryBySn method

Future<String> queryBySn({
  1. required String receiverId,
  2. required int sn,
  3. dynamic hint,
})
override

Implementation

Future<String> queryBySn(
    {required String receiverId, required int sn, dynamic hint}) {
  var arg0 = _platform.api2wire_String(receiverId);
  var arg1 = api2wire_usize(sn);
  return _platform.executeNormal(FlutterRustBridgeTask(
    callFfi: (port_) => _platform.inner.wire_query_by_sn(port_, arg0, arg1),
    parseSuccessData: _wire2api_String,
    constMeta: kQueryBySnConstMeta,
    argValues: [receiverId, sn],
    hint: hint,
  ));
}