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