toValue method
Implementation
String toValue() {
switch (this) {
case Mode.delivery:
return 'DELIVERY';
case Mode.filter:
return 'FILTER';
}
}
String toValue() {
switch (this) {
case Mode.delivery:
return 'DELIVERY';
case Mode.filter:
return 'FILTER';
}
}