cw property

Gets the direction clockwise to this one.

Implementation

AxisDirection get cw => const [
      AxisDirection.right,
      AxisDirection.down,
      AxisDirection.left,
      AxisDirection.up,
    ][index];