toInventoryFormat method

InventoryFormat toInventoryFormat()

Implementation

InventoryFormat toInventoryFormat() {
  switch (this) {
    case 'CSV':
      return InventoryFormat.csv;
    case 'ORC':
      return InventoryFormat.orc;
    case 'Parquet':
      return InventoryFormat.parquet;
  }
  throw Exception('$this is not known in enum InventoryFormat');
}