ports property

List<MessagePort>? ports

Returns the array containing the MessagePort objects representing the ports of the associated message channel.

Implementation

List<MessagePort>? get ports =>
    _getProperty<List>(_delegate, 'ports').cast<MessagePort>();