callAriaFunction method
Implementation
@override
Future<String> callAriaFunction(
{required Client client,
required String method,
required MyValue params,
dynamic hint}) {
return handler.executeNormal(NormalTask(
callFfi: (port_) {
final serializer = SseSerializer(generalizedFrbRustBinding);
sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedrust_asyncRwLockClient(
client, serializer);
sse_encode_String(method, serializer);
sse_encode_box_autoadd_my_value(params, serializer);
pdeCallFfi(generalizedFrbRustBinding, serializer,
funcId: 6, port: port_);
},
codec: SseCodec(
decodeSuccessData: sse_decode_String,
decodeErrorData: sse_decode_my_error,
),
constMeta: kCallAriaFunctionConstMeta,
argValues: [client, method, params],
apiImpl: this,
hint: hint,
));
}