toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ReservationPlanStatus.active:
      return 'ACTIVE';
    case ReservationPlanStatus.expired:
      return 'EXPIRED';
  }
}