ReceivePort.fromRawReceivePort 构造函数
- RawReceivePort rawPort
从 RawReceivePort 创建一个 ReceivePort.
在创建结果的过程中会覆盖给定 rawPort
的处理器。
实现
external factory ReceivePort.fromRawReceivePort(RawReceivePort rawPort);
从 RawReceivePort 创建一个 ReceivePort.
在创建结果的过程中会覆盖给定 rawPort
的处理器。
external factory ReceivePort.fromRawReceivePort(RawReceivePort rawPort);