isInput property
latefinal
Returns true iff this signal is an input of its parent Module.
Implementation
late final bool isInput =
// this can be cached because parentModule is set at port creation
parentModule?.isInput(this) ?? false;