type property

Whether this direction is orthogonal, diagonal, or oblique.

Implementation

DirectionType get type => orthogonal
    ? DirectionType.orthogonal
    : diagonal
        ? DirectionType.diagonal
        : DirectionType.oblique;