toValue method
Implementation
String toValue() {
  switch (this) {
    case WarmupStatus.inProgress:
      return 'IN_PROGRESS';
    case WarmupStatus.done:
      return 'DONE';
  }
}
String toValue() {
  switch (this) {
    case WarmupStatus.inProgress:
      return 'IN_PROGRESS';
    case WarmupStatus.done:
      return 'DONE';
  }
}