hello method

  1. @override
String hello({
  1. required String a,
  2. dynamic hint,
})
override

Implementation

@override
String hello({required String a, dynamic hint}) {
  return handler.executeSync(SyncTask(
    callFfi: () {
      final serializer = SseSerializer(generalizedFrbRustBinding);
      sse_encode_String(a, serializer);
      return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 7)!;
    },
    codec: SseCodec(
      decodeSuccessData: sse_decode_String,
      decodeErrorData: null,
    ),
    constMeta: kHelloConstMeta,
    argValues: [a],
    apiImpl: this,
    hint: hint,
  ));
}