toSql method

String toSql()

Converts the OrderByColumn to an SQL string.

Implementation

String toSql() => direction == SortDirection.ascending ? 'ASC' : 'DESC';