connectAria2Client method
Implementation
@override
Future<Client> connectAria2Client({required String url, dynamic hint}) {
return handler.executeNormal(NormalTask(
callFfi: (port_) {
final serializer = SseSerializer(generalizedFrbRustBinding);
sse_encode_String(url, serializer);
pdeCallFfi(generalizedFrbRustBinding, serializer,
funcId: 1, port: port_);
},
codec: SseCodec(
decodeSuccessData:
sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedrust_asyncRwLockClient,
decodeErrorData: null,
),
constMeta: kConnectAria2ClientConstMeta,
argValues: [url],
apiImpl: this,
hint: hint,
));
}