isInput property

bool get isInput

Whether this port is an input port.

Implementation

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