toReprocessingStatus method

ReprocessingStatus toReprocessingStatus()

Implementation

ReprocessingStatus toReprocessingStatus() {
  switch (this) {
    case 'RUNNING':
      return ReprocessingStatus.running;
    case 'SUCCEEDED':
      return ReprocessingStatus.succeeded;
    case 'CANCELLED':
      return ReprocessingStatus.cancelled;
    case 'FAILED':
      return ReprocessingStatus.failed;
  }
  throw Exception('$this is not known in enum ReprocessingStatus');
}