updateGlobalVarNew method
UpdateGlobalVar
updateGlobalVarNew({
- required int fromChainId,
- required int subAccountId,
- required Parameter parameter,
- required double serialId,
- dynamic hint,
override
Implementation
@override
UpdateGlobalVar updateGlobalVarNew(
{required int fromChainId,
required int subAccountId,
required Parameter parameter,
required double serialId,
dynamic hint}) {
return handler.executeSync(SyncTask(
callFfi: () {
var arg0 = cst_encode_u_8(fromChainId);
var arg1 = cst_encode_u_8(subAccountId);
var arg2 =
cst_encode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedrust_asyncRwLockParameter(
parameter);
var arg3 = cst_encode_f_64(serialId);
return wire.wire_UpdateGlobalVar_new(arg0, arg1, arg2, arg3);
},
codec: DcoCodec(
decodeSuccessData:
dco_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedrust_asyncRwLockUpdateGlobalVar,
decodeErrorData: dco_decode_AnyhowException,
),
constMeta: kUpdateGlobalVarNewConstMeta,
argValues: [fromChainId, subAccountId, parameter, serialId],
apiImpl: this,
hint: hint,
));
}