toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ServiceUpdateStatus.available:
      return 'available';
    case ServiceUpdateStatus.cancelled:
      return 'cancelled';
    case ServiceUpdateStatus.expired:
      return 'expired';
  }
}