toStabilityStatus method

StabilityStatus toStabilityStatus()

Implementation

StabilityStatus toStabilityStatus() {
  switch (this) {
    case 'STEADY_STATE':
      return StabilityStatus.steadyState;
    case 'STABILIZING':
      return StabilityStatus.stabilizing;
  }
  throw Exception('$this is not known in enum StabilityStatus');
}