nativePort property

int nativePort

The native port of this SendPort.

The returned native port can for example be used by C code to post messages to the connected ReceivePort via Dart_PostCObject() - see dart_native_api.h.

Only the send ports from the platform classes ReceivePort and RawReceivePort are supported. User-defined implementations of SendPort are not supported.


external int get nativePort;