ReceivePort.fromRawReceivePort 构造函数

ReceivePort.fromRawReceivePort(
  1. RawReceivePort rawPort
)

RawReceivePort 创建一个 ReceivePort.

在创建结果的过程中会覆盖给定 rawPort 的处理器。

实现

external factory ReceivePort.fromRawReceivePort(RawReceivePort rawPort);