spotPriceInfoNew method

  1. @override
SpotPriceInfo spotPriceInfoNew({
  1. required int tokenId,
  2. required String price,
  3. dynamic hint,
})
override

Implementation

@override
SpotPriceInfo spotPriceInfoNew(
    {required int tokenId, required String price, dynamic hint}) {
  return handler.executeSync(SyncTask(
    callFfi: () {
      var arg0 = cst_encode_u_32(tokenId);
      var arg1 = cst_encode_String(price);
      return wire.wire_SpotPriceInfo_new(arg0, arg1);
    },
    codec: DcoCodec(
      decodeSuccessData:
          dco_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedrust_asyncRwLockSpotPriceInfo,
      decodeErrorData: dco_decode_AnyhowException,
    ),
    constMeta: kSpotPriceInfoNewConstMeta,
    argValues: [tokenId, price],
    apiImpl: this,
    hint: hint,
  ));
}