isAscending property

bool get isAscending

Returns whether this direction is ascending.

Implementation

bool get isAscending => this == Direction.asc;