toInventorySchemaDeleteOption method

InventorySchemaDeleteOption toInventorySchemaDeleteOption()

Implementation

InventorySchemaDeleteOption toInventorySchemaDeleteOption() {
  switch (this) {
    case 'DisableSchema':
      return InventorySchemaDeleteOption.disableSchema;
    case 'DeleteSchema':
      return InventorySchemaDeleteOption.deleteSchema;
  }
  throw Exception('$this is not known in enum InventorySchemaDeleteOption');
}