ReceivePort.fromRawReceivePort 构造函数

ReceivePort.fromRawReceivePort(
  1. RawReceivePort rawPort
)

从一个 RawReceivePort 创建一个 ReceivePort

在结果构造过程中,给定 rawPort 的处理程序将被覆盖。

实现

external factory ReceivePort.fromRawReceivePort(RawReceivePort rawPort);