RawReceivePort2 constructor
RawReceivePort2([
- Function? handler
Opens a long-lived port for receiving messages.
A RawReceivePort2 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.
Implementation
external factory RawReceivePort2([Function? handler]);