toDataFormat method
Implementation
DataFormat toDataFormat() {
switch (this) {
case 'AVRO':
return DataFormat.avro;
}
throw Exception('$this is not known in enum DataFormat');
}
DataFormat toDataFormat() {
switch (this) {
case 'AVRO':
return DataFormat.avro;
}
throw Exception('$this is not known in enum DataFormat');
}