encode static method
Implementation
static String encode(SortDirection value) {
switch (value) {
case SortDirection.asc:
return 'asc';
case SortDirection.desc:
return 'desc';
}
}
static String encode(SortDirection value) {
switch (value) {
case SortDirection.asc:
return 'asc';
case SortDirection.desc:
return 'desc';
}
}