toModelOutputDataFormat method

ModelOutputDataFormat toModelOutputDataFormat()

Implementation

ModelOutputDataFormat toModelOutputDataFormat() {
  switch (this) {
    case 'TEXT_CSV':
      return ModelOutputDataFormat.textCsv;
    case 'APPLICATION_JSONLINES':
      return ModelOutputDataFormat.applicationJsonlines;
  }
  throw Exception('$this is not known in enum ModelOutputDataFormat');
}