toFileFormatType method
Implementation
FileFormatType toFileFormatType() {
switch (this) {
case 'JSON':
return FileFormatType.json;
case 'PARQUET':
return FileFormatType.parquet;
}
throw Exception('$this is not known in enum FileFormatType');
}