toModelVersionStatus method

ModelVersionStatus toModelVersionStatus()

Implementation

ModelVersionStatus toModelVersionStatus() {
  switch (this) {
    case 'ACTIVE':
      return ModelVersionStatus.active;
    case 'INACTIVE':
      return ModelVersionStatus.inactive;
  }
  throw Exception('$this is not known in enum ModelVersionStatus');
}