ports property

Returns the MessagePort array sent with the message, for cross-document messaging and channel messaging.

MDN Reference

Implementation

_i9.ReadonlyArray<_i3.MessagePort> get ports => _i4.getProperty(
      this,
      'ports',
    );