toWarmupStatus method
Implementation
WarmupStatus toWarmupStatus() {
switch (this) {
case 'IN_PROGRESS':
return WarmupStatus.inProgress;
case 'DONE':
return WarmupStatus.done;
}
throw Exception('$this is not known in enum WarmupStatus');
}