interface method
- String name
Gets a reference to an interface by name.
Returns the InterfaceReference for the interface with the specified
name
. This provides access to the interface's ports, role, and
connection methods.
Throws an Exception if no interface with the given name
exists.
Implementation
InterfaceReference interface(String name) =>
interfaces[name] ??
(throw RohdBridgeException('Interface $name not found'));