ports property
All port references that belong to this interface.
Returns a list of InterfacePortReferences for every port defined in the interface. These can be used to access individual ports within the interface for detailed connection control.
Implementation
List<InterfacePortReference> get ports =>
interface.ports.keys.map(port).toList(growable: false);