toDatasetStatus method

DatasetStatus toDatasetStatus()

Implementation

DatasetStatus toDatasetStatus() {
  switch (this) {
    case 'CREATING':
      return DatasetStatus.creating;
    case 'ACTIVE':
      return DatasetStatus.active;
    case 'DELETING':
      return DatasetStatus.deleting;
  }
  throw Exception('$this is not known in enum DatasetStatus');
}