port2 property

WebMessagePort get port2

The second PlatformWebMessagePort object of the channel.

Implementation

WebMessagePort get port2 =>
    WebMessagePort.fromPlatform(platform: platform.port2);