reversed property

VerticalDirection get reversed

Gets the reverse of this direction.

Implementation

VerticalDirection get reversed => this == VerticalDirection.up ?
  VerticalDirection.down : VerticalDirection.up;