isOutput property

bool get isOutput

Whether this port is an output port.

Implementation

bool get isOutput => direction == 'OUTPUT';