reversed property

AxisDirection get reversed

Gets the reverse of this direction.

Implementation

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