reversed property

Gets the reverse of this direction.

Implementation

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