messagePort top-level property

dynamic get messagePort

The MessagePort interface of the Channel Messaging API represents one of the two ports of a MessageChannel, allowing messages to be sent from one port and listening out for them arriving at the other.

Implementation

_i2.dynamic get messagePort => _i4.getProperty(
      _self,
      'MessagePort',
    );