toValue method
Implementation
String toValue() {
  switch (this) {
    case DatasetContentState.creating:
      return 'CREATING';
    case DatasetContentState.succeeded:
      return 'SUCCEEDED';
    case DatasetContentState.failed:
      return 'FAILED';
  }
}