crateApiPythonPyObjectWrapperAsInt method
PlatformInt64
crateApiPythonPyObjectWrapperAsInt(
{ - required PyObjectWrapper that,
})
override
Implementation
@override
PlatformInt64 crateApiPythonPyObjectWrapperAsInt(
{required PyObjectWrapper that}) {
return handler.executeSync(SyncTask(
callFfi: () {
final serializer = SseSerializer(generalizedFrbRustBinding);
sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerPyObjectWrapper(
that, serializer);
return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 7)!;
},
codec: SseCodec(
decodeSuccessData: sse_decode_i_64,
decodeErrorData: sse_decode_AnyhowException,
),
constMeta: kCrateApiPythonPyObjectWrapperAsIntConstMeta,
argValues: [that],
apiImpl: this,
));
}