messagePort top-level property

dynamic get messagePort

This Channel Messaging API interface 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.

MDN Reference

Implementation

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