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