port method
- String name
inherited
Accesses a port named name.
This name is not a uniquified name, it is the original port name.
Implementation
Logic port(String name) => _ports.containsKey(name)
? _ports[name]!
: throw PortDoesNotExistException(
'Port named "$name" not found on this interface: $this.');