toStopStatus method

StopStatus toStopStatus()

Implementation

StopStatus toStopStatus() {
  switch (this) {
    case 'Pending':
      return StopStatus.pending;
    case 'Succeeded':
      return StopStatus.succeeded;
  }
  throw Exception('$this is not known in enum StopStatus');
}