newNativePort property Null safety

Pointer<NativeFunction<Int64 Function(Pointer<Uint8>, Pointer<NativeFunction<Dart_NativeMessageHandler>>, Int8)>> newNativePort

A function pointer to

Dart_Port Dart_NewNativePort(const char* name,
                             Dart_NativeMessageHandler handler,
                             bool handle_concurrently)

in dart_native_api.h.

Implementation

external static Pointer<
    NativeFunction<
        Int64 Function(
            Pointer<Uint8>,
            Pointer<NativeFunction<Dart_NativeMessageHandler>>,
            Int8)>> get newNativePort;