toValue method
Implementation
String toValue() {
switch (this) {
case FleetType.onDemand:
return 'ON_DEMAND';
case FleetType.spot:
return 'SPOT';
}
}
String toValue() {
switch (this) {
case FleetType.onDemand:
return 'ON_DEMAND';
case FleetType.spot:
return 'SPOT';
}
}