toFleetState method
Implementation
FleetState toFleetState() {
switch (this) {
case 'STARTING':
return FleetState.starting;
case 'RUNNING':
return FleetState.running;
case 'STOPPING':
return FleetState.stopping;
case 'STOPPED':
return FleetState.stopped;
}
throw Exception('$this is not known in enum FleetState');
}