toInstanceFleetType method
Implementation
InstanceFleetType toInstanceFleetType() {
switch (this) {
case 'MASTER':
return InstanceFleetType.master;
case 'CORE':
return InstanceFleetType.core;
case 'TASK':
return InstanceFleetType.task;
}
throw Exception('$this is not known in enum InstanceFleetType');
}