isPort property
bool
get
isPort
Returns true iff this signal is an input or output of its parent Module.
Note: parentModule is not populated until after its parent Module, if it exists, has been built. If no parent Module exists, returns false.
Implementation
bool get isPort => isInput || isOutput;