toStandardsStatus method

StandardsStatus toStandardsStatus()

Implementation

StandardsStatus toStandardsStatus() {
  switch (this) {
    case 'PENDING':
      return StandardsStatus.pending;
    case 'READY':
      return StandardsStatus.ready;
    case 'FAILED':
      return StandardsStatus.failed;
    case 'DELETING':
      return StandardsStatus.deleting;
    case 'INCOMPLETE':
      return StandardsStatus.incomplete;
  }
  throw Exception('$this is not known in enum StandardsStatus');
}