port property
int
get
port
Dart native port acting as this channel's key. Pass it to the Python program (typically via an environment variable) so Python knows where to send messages and which port to register its handler under.
Implementation
int get port => _rx.sendPort.nativePort;