forked from openfoodfacts/openfoodfacts-dart
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: openfoodfacts#233 - new class OpenFoodFactsCountry, clearer tha…
…n "cc" New file: * `CountryHelper.dart`: country enums and their ISO-2-codes Impacted files: * `AbstractQueryConfiguration.dart`: deprecated `String? cc` in favor of `OpenFoodFactsCountry? country` * `api_getTaxonomy_test.dart`: now using `OpenFoodAPIConfiguration.globalCountry` * `api_getTaxonomyAdditives_test.dart`: now using `OpenFoodAPIConfiguration.globalCountry` * `api_getTaxonomyAllergens_test.dart`: now using `OpenFoodAPIConfiguration.globalCountry` * `api_getTaxonomyCategories_test.dart`: now using `OpenFoodAPIConfiguration.globalCountry` * `api_getTaxonomyCountries_test.dart`: now using `OpenFoodAPIConfiguration.globalCountry` * `api_getTaxonomyIngredients_test.dart`: now using `OpenFoodAPIConfiguration.globalCountry` * `api_getTaxonomyLabels_test.dart`: now using `OpenFoodAPIConfiguration.globalCountry` * `api_getTaxonomyLanguages_test.dart`: now using `OpenFoodAPIConfiguration.globalCountry` * `OpenFoodAPIConfiguration.dart`: deprecated `String? globalCC` in favor of `OpenFoodFactsCountry? globalCountry` * `openfoodfacts.dart`: minor refactoring * `ProductListQueryConfiguration.dart`: added parameter `OpenFoodFactsCountry? country` * `ProductQueryConfigurations.dart`: added parameter `OpenFoodFactsCountry? country` * `ProductSearchQueryConfiguration.dart`: added parameter `OpenFoodFactsCountry? country` * `TaxonomyAdditive.dart`: added parameter `OpenFoodFactsCountry? country` * `TaxonomyAllergen.dart`: added parameter `OpenFoodFactsCountry? country` * `TaxonomyCategory.dart`: added parameter `OpenFoodFactsCountry? country` * `TaxonomyCountry.dart`: added parameter `OpenFoodFactsCountry? country` * `TaxonomyIngredient.dart`: added parameter `OpenFoodFactsCountry? country` * `TaxonomyLabel.dart`: added parameter `OpenFoodFactsCountry? country` * `TaxonomyLanguage.dart`: added parameter `OpenFoodFactsCountry? country` * `TaxonomyQueryConfiguration.dart`: deprecated `String? cc` in favor of `OpenFoodFactsCountry? country`
- Loading branch information
1 parent
797339d
commit e3bbb90
Showing
23 changed files
with
1,115 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.