reversed property

AxisDirection reversed

Gets the reverse of this direction.

Implementation

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