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