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