value property Null safety
Implementation
String? get value {
switch (this) {
case SortType.asc:
return 'asc';
case SortType.desc:
return 'desc';
case SortType.count:
return 'count';
default:
return null;
}
}