toModelInputDataFormat method

ModelInputDataFormat toModelInputDataFormat()

Implementation

ModelInputDataFormat toModelInputDataFormat() {
  switch (this) {
    case 'TEXT_CSV':
      return ModelInputDataFormat.textCsv;
    case 'APPLICATION_JSON':
      return ModelInputDataFormat.applicationJson;
  }
  throw Exception('$this is not known in enum ModelInputDataFormat');
}