isOutput property

bool get isOutput

Returns true if this is an output port.

Implementation

bool get isOutput => direction?.toLowerCase() == 'output';