toValue method
Implementation
String toValue() {
switch (this) {
case DeliveryStatus.success:
return 'Success';
case DeliveryStatus.failure:
return 'Failure';
case DeliveryStatus.notApplicable:
return 'Not_Applicable';
}
}