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.

Implementation

external int get nativePort;

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-ffi/NativePort/nativePort.html