forked from openfoodfacts/openfoodfacts-dart
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: simplified access to raw product images (openfoodfacts#839)
* feat: simplified access to raw product images Impacted files: * `api_get_product_image_ids_test.dart`: used new method and extended tests to all/main/raw images * `api_get_product_test.dart`: minor refactoring * `api_json_to_from_test.dart`: extended tests to all/main/raw images * `image_helper.dart`: minor refactoring * `json_helper.dart`: integrated "raw" images in addition to "main" images * `open_food_api_client.dart`: deprecated method `getProductImageIds` * `product.dart`: integrated "raw" images in addition to "main" images * `product.g.dart`: generated * `product_helper.dart`: minor refactoring * `product_image.dart`: now can include "raw" images * test fix * Edits after review
- Loading branch information
1 parent
0482f63
commit 3350251
Showing
11 changed files
with
341 additions
and
159 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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.