isForward property

bool get isForward

Whether this direction is the forward direction of axis.

Implementation

bool get isForward =>
    this == AxisDirection.down || this == AxisDirection.right;