toDatasetContentState method
Implementation
DatasetContentState toDatasetContentState() {
switch (this) {
case 'CREATING':
return DatasetContentState.creating;
case 'SUCCEEDED':
return DatasetContentState.succeeded;
case 'FAILED':
return DatasetContentState.failed;
}
throw Exception('$this is not known in enum DatasetContentState');
}