toValue method

String toValue()

Implementation

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