toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case PhoneNumberOrderStatus.processing:
      return 'Processing';
    case PhoneNumberOrderStatus.successful:
      return 'Successful';
    case PhoneNumberOrderStatus.failed:
      return 'Failed';
    case PhoneNumberOrderStatus.partial:
      return 'Partial';
  }
}