toOverallChangeStatus method

OverallChangeStatus toOverallChangeStatus()

Implementation

OverallChangeStatus toOverallChangeStatus() {
  switch (this) {
    case 'PENDING':
      return OverallChangeStatus.pending;
    case 'PROCESSING':
      return OverallChangeStatus.processing;
    case 'COMPLETED':
      return OverallChangeStatus.completed;
    case 'FAILED':
      return OverallChangeStatus.failed;
  }
  throw Exception('$this is not known in enum OverallChangeStatus');
}