toValue method
Implementation
String toValue() {
switch (this) {
case PricingPlan.onDemand:
return 'ON_DEMAND';
case PricingPlan.reserved:
return 'RESERVED';
}
}
String toValue() {
switch (this) {
case PricingPlan.onDemand:
return 'ON_DEMAND';
case PricingPlan.reserved:
return 'RESERVED';
}
}