greet method
String
greet(
{ - required String name,
- dynamic hint,
})
override
Implementation
@override
String greet({required String name, dynamic hint}) {
return handler.executeSync(SyncTask(
callFfi: () {
final serializer = SseSerializer(generalizedFrbRustBinding);
sse_encode_String(name, serializer);
return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 6)!;
},
codec: SseCodec(
decodeSuccessData: sse_decode_String,
decodeErrorData: null,
),
constMeta: kGreetConstMeta,
argValues: [name],
apiImpl: this,
hint: hint,
));
}