toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case DeliveryMediumType.sms:
      return 'SMS';
    case DeliveryMediumType.email:
      return 'EMAIL';
  }
}