toValue method

String toValue()

Implementation

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