RawReceivePort constructor Null safety
Opens a long-lived port for receiving messages.
A RawReceivePort is low level and does not work with Zones. It can not be paused. The data-handler must be set before the first event is received.
The optional debugName
parameter can be set to associate a name with
this port that can be displayed in tooling.
Implementation
external factory RawReceivePort([Function? handler, String debugName = '']);