toSearchSortOrder method
Implementation
SearchSortOrder toSearchSortOrder() {
switch (this) {
case 'Ascending':
return SearchSortOrder.ascending;
case 'Descending':
return SearchSortOrder.descending;
}
throw Exception('$this is not known in enum SearchSortOrder');
}