getPorts method

List<Port> getPorts()

Implementation

List<Port> getPorts() => children.whereType<Port>().toList();