parseOrderDirectionFromEnum static method
Implementation
static String parseOrderDirectionFromEnum(OrderDirections direction) {
switch (direction) {
case OrderDirections.ascending:
return 'asc';
case OrderDirections.descending:
return 'desc';
}
}