NativeFinalizerFunction typedef Null safety

NativeFinalizerFunction = NativeFunction<Void Function(Pointer<Void> token)>

The native function type for NativeFinalizers.

A NativeFinalizer's callback should have the C void nativeFinalizer(void* token) type.

Implementation

typedef NativeFinalizerFunction
    = NativeFunction<Void Function(Pointer<Void> token)>;