toHITStatus method

HITStatus toHITStatus()

Implementation

HITStatus toHITStatus() {
  switch (this) {
    case 'Assignable':
      return HITStatus.assignable;
    case 'Unassignable':
      return HITStatus.unassignable;
    case 'Reviewable':
      return HITStatus.reviewable;
    case 'Reviewing':
      return HITStatus.reviewing;
    case 'Disposed':
      return HITStatus.disposed;
  }
  throw Exception('$this is not known in enum HITStatus');
}