isOutput method Null safety

bool isOutput(
  1. Logic net
)

Returns true iff net is the same Logic as the output port of this Module with the same name.

Implementation

bool isOutput(Logic net) => _outputs[net.name] == net;