toSql method
Converts the OrderByColumn to an SQL string.
Implementation
String toSql() => direction == SortDirection.ascending ? 'ASC' : 'DESC';
Converts the OrderByColumn to an SQL string.
String toSql() => direction == SortDirection.ascending ? 'ASC' : 'DESC';