isReverse property

bool get isReverse

Whether this direction is opposite of the forward direction of axis.

Implementation

bool get isReverse => this == AxisDirection.up || this == AxisDirection.left;