toDeliveryMediumType method
Implementation
DeliveryMediumType toDeliveryMediumType() {
switch (this) {
case 'SMS':
return DeliveryMediumType.sms;
case 'EMAIL':
return DeliveryMediumType.email;
}
throw Exception('$this is not known in enum DeliveryMediumType');
}