isInput property

bool get isInput

Returns true if this is an input port.

Implementation

bool get isInput => direction == 'input';