00:01 +0: /home/peter/git/openfoodfacts-dart/test/api_addProductImage_test.dart: OpenFoodAPIClient add product images add front image test
TEST-MODE
00:01 +0 -1: /home/peter/git/openfoodfacts-dart/test/api_addProductImage_test.dart: OpenFoodAPIClient add product images add front image test [E]
FileSystemException: Cannot open file, path = 'assets/front_de.jpg' (OS Error: No such file or directory, errno = 2)
dart:io _File.readAsBytes
package:openfoodfacts/utils/HttpHelper.dart 60:61 HttpHelper.doMultipartRequest
package:openfoodfacts/openfoodfacts.dart 96:10 OpenFoodAPIClient.addProductImage
api_addProductImage_test.dart 25:47 main.<fn>.<fn>
00:01 +0 -1: /home/peter/git/openfoodfacts-dart/test/api_addProductImage_test.dart: OpenFoodAPIClient add product images add ingredients image test
TEST-MODE
00:01 +0 -2: /home/peter/git/openfoodfacts-dart/test/api_addProductImage_test.dart: OpenFoodAPIClient add product images add ingredients image test [E]
FileSystemException: Cannot open file, path = 'assets/ingredients_en.jpg' (OS Error: No such file or directory, errno = 2)
dart:io _File.readAsBytes
package:openfoodfacts/utils/HttpHelper.dart 60:61 HttpHelper.doMultipartRequest
package:openfoodfacts/openfoodfacts.dart 96:10 OpenFoodAPIClient.addProductImage
api_addProductImage_test.dart 40:47 main.<fn>.<fn>
00:02 +1 -2: /home/peter/git/openfoodfacts-dart/test/api_searchProducts_test.dart: OpenFoodAPIClient search products search favorite products
URI: https://world.openfoodfacts.org/cgi/search.pl?json=1&page=1&page_size=10&search_type=1&sort_by=unique_scans_n&search_terms&lc=de
TEST-MODE
00:02 +1 -3: /home/peter/git/openfoodfacts-dart/test/api_saveProduct_test.dart: OpenFoodAPIClient add new products add new product test 1 [E]
NoSuchMethodError: The getter 'iterator' was called on null.
Receiver: null
Tried calling: iterator
dart:core Object.noSuchMethod
package:openfoodfacts/utils/JsonHelper.dart 45:36 JsonHelper.selectedImagesToJson
package:openfoodfacts/model/Product.g.dart 91:18 _$ProductToJson
package:openfoodfacts/model/Product.dart 135:36 Product.toJson
package:openfoodfacts/interface/JsonObject.dart 7:45 JsonObject.toData
package:openfoodfacts/openfoodfacts.dart 67:33 OpenFoodAPIClient.saveProduct
api_saveProduct_test.dart 30:35 main.<fn>.<fn>
00:02 +1 -4: /home/peter/git/openfoodfacts-dart/test/api_saveProduct_test.dart: OpenFoodAPIClient add new products add new product test 2 [E]
NoSuchMethodError: The getter 'iterator' was called on null.
Receiver: null
Tried calling: iterator
dart:core Object.noSuchMethod
package:openfoodfacts/utils/JsonHelper.dart 45:36 JsonHelper.selectedImagesToJson
package:openfoodfacts/model/Product.g.dart 91:18 _$ProductToJson
package:openfoodfacts/model/Product.dart 135:36 Product.toJson
package:openfoodfacts/interface/JsonObject.dart 7:45 JsonObject.toData
package:openfoodfacts/openfoodfacts.dart 67:33 OpenFoodAPIClient.saveProduct
api_saveProduct_test.dart 46:35 main.<fn>.<fn>
00:02 +1 -5: /home/peter/git/openfoodfacts-dart/test/api_saveProduct_test.dart: OpenFoodAPIClient add new products add new product test 3 [E]
NoSuchMethodError: The getter 'iterator' was called on null.
Receiver: null
Tried calling: iterator
dart:core Object.noSuchMethod
package:openfoodfacts/utils/JsonHelper.dart 45:36 JsonHelper.selectedImagesToJson
package:openfoodfacts/model/Product.g.dart 91:18 _$ProductToJson
package:openfoodfacts/model/Product.dart 135:36 Product.toJson
package:openfoodfacts/interface/JsonObject.dart 7:45 JsonObject.toData
package:openfoodfacts/openfoodfacts.dart 67:33 OpenFoodAPIClient.saveProduct
api_saveProduct_test.dart 64:35 main.<fn>.<fn>
00:02 +1 -6: /home/peter/git/openfoodfacts-dart/test/api_postRobotoff_test.dart: OpenFoodAPIClient answer robotoff question get questions for Noix de Saint-Jacques EN and answer
TEST-MODE
00:02 +1 -6: /home/peter/git/openfoodfacts-dart/test/api_saveProduct_test.dart: OpenFoodAPIClient add new products add new product test 4 [E]
NoSuchMethodError: The getter 'iterator' was called on null.
Receiver: null
Tried calling: iterator
dart:core Object.noSuchMethod
package:openfoodfacts/utils/JsonHelper.dart 45:36 JsonHelper.selectedImagesToJson
package:openfoodfacts/model/Product.g.dart 91:18 _$ProductToJson
package:openfoodfacts/model/Product.dart 135:36 Product.toJson
package:openfoodfacts/interface/JsonObject.dart 7:45 JsonObject.toData
package:openfoodfacts/openfoodfacts.dart 67:33 OpenFoodAPIClient.saveProduct
api_saveProduct_test.dart 82:35 main.<fn>.<fn>
00:02 +1 -6: /home/peter/git/openfoodfacts-dart/test/api_getProductRaw_test.dart: OpenFoodAPIClient get raw products get product test 1
TEST-MODE
00:03 +1 -6: /home/peter/git/openfoodfacts-dart/test/api_postRobotoff_test.dart: OpenFoodAPIClient answer robotoff question get questions for Noix de Saint-Jacques EN and answer
No question found for this product
00:03 +2 -6: /home/peter/git/openfoodfacts-dart/test/api_searchProducts_test.dart: OpenFoodAPIClient search products search favorite products
Unable to parse data to double : NoSuchMethodError: The getter 'length' was called on null.
Receiver: null
Tried calling: length
{code: 5449000000996, product_name: Coca Cola, product_name_de: Cola-Erfrischungsgetränk, product_name_en: Coca Cola, product_name_fr: Coca-Cola, brands: Coca-Cola, brands_tags: [coca-cola], lang: en, quantity: 330 ml, image_small_url: https://static.openfoodfacts.org/images/products/544/900/000/0996/front_de.169.200.jpg, serving_size: 330ml, serving_quantity: 330.0, product_quantity: 330, selected_images: {front: {thumb: {de: https://static.openfoodfacts.org/images/products/544/900/000/0996/front_de.169.100.jpg}, small: {de: https://static.openfoodfacts.org/images/products/544/900/000/0996/front_de.169.200.jpg}, display: {de: https://static.openfoodfacts.org/images/products/544/900/000/0996/front_de.169.400.jpg}, original: {}, null: {}}, ingredients: {thumb: {de: https://static.openfoodfacts.org/images/products/544/900/000/0996/ingredients_de.487.100.jpg}, small: {de: https://static.openfoodfacts.org/images/products/544/900/000/0996/ingredients_de.487.200.jpg}, display: {de: https://static.openfoodfacts.org/images/products/544/900/000/0996/ingredients_de.487.400.jpg}, original: {}, null: {}}, nutrition: {thumb: {en: https://static.openfoodfacts.org/images/products/544/900/000/0996/nutrition_en.402.100.jpg, es: https://static.openfoodfacts.org/images/products/544/900/000/0996/nutrition_es.218.100.jpg, fr: https://static.openfoodfacts.org/images/products/544/900/000/0996/nutrition_fr.346.100.jpg, pl: https://static.openfoodfacts.org/images/products/544/900/000/0996/nutrition_pl.369.100.jpg}, small: {en: https://static.openfoodfacts.org/images/products/544/900/000/0996/nutrition_en.402.200.jpg, es: https://static.openfoodfacts.org/images/products/544/900/000/0996/nutrition_es.218.200.jpg, fr: https://static.openfoodfacts.org/images/products/544/900/000/0996/nutrition_fr.346.200.jpg, pl: https://static.openfoodfacts.org/images/products/544/900/000/0996/nutrition_pl.369.200.jpg}, display: {en: https://static.openfoodfacts.org/images/products/544/900/000/0996/nutrition_en.402.400.jpg, es: https://static.openfoodfacts.org/images/products/544/900/000/0996/nutrition_es.218.400.jpg, fr: https://static.openfoodfacts.org/images/products/544/900/000/0996/nutrition_fr.346.400.jpg, pl: https://static.openfoodfacts.org/images/products/544/900/000/0996/nutrition_pl.369.400.jpg}, original: {}, null: {}}, other: {thumb: {}, small: {}, display: {}, original: {}, null: {}}}, images: {}, ingredients: [Instance of 'Ingredient', Instance of 'Ingredient', Instance of 'Ingredient', Instance of 'Ingredient', Instance of 'Ingredient', Instance of 'Ingredient', Instance of 'Ingredient'], nutriments: {salt_100g: 0.0, sugars_100g: 10.6, fat_100g: 0.0, saturated-fat_100g: 0.0, proteins_100g: 0.0, nova-group_100g: 4, energy_100g: 180.0, carbohydrates_100g: 10.6, salt_serving: 0.0, sugars_serving: 35.0, fat_serving: 0.0, saturated-fat_serving: 0.0, proteins_serving: 0.0, nova-group_serving: 4, energy_serving: 594.0, carbohydrates_serving: 35.0, energy_unit: KJ}, additives_tags: Instance of 'Additives', nutrient_levels: Instance of 'NutrientLevels', ingredients_text: water, sugar, carbon dioxide, dye e150d, acidifier e338, natural flavors including caffeine,, ingredients_text_de: Wasser, Zucker, Kohlensäure, Farbstoff E 150d, Säuerungsmittel: E 338, natürliche Aromen inklusive Koffein. Ingrédients: eau, sucre, acide carbonique, colorant E 150d, acidifiant E 338, arômes naturels incl. caféine., ingredients_text_en: water, sugar, carbon dioxide, dye e150d, acidifier e338, natural flavors including caffeine,, ingredients_text_fr: Eau gazéifiée, sucre, colorant : E150d, acidifiant : acide phosphorique, arômes naturels (extraits végétaux), dont caféine., ingredients_analysis_tags: [en:maybe-vegan, en:maybe-vegetarian, en:maybe-palm-oil-free], nutrition_data_per: 100g, nutrition_grade_fr: e, categories: Bevande,Bevande effervescente,Bevande zuccherate,en:boissons-boissons-gazeuses-sodas-boissons-sans-alcool-sodas-au-cola-boissons-avec-sucre-ajoute-pl-zawiera-kofeinę, categories_tags: [en:beverages, en:carbonated-drinks, en:sweetened-beverages, en:boissons-boissons-gazeuses-sodas-boissons-sans-alcool-sodas-au-cola-boissons-avec-sucre-ajoute-pl-zawiera-kofeinę], labels_tags: [en:verified], states_tags: [en:to-be-checked, en:complete, en:nutrition-facts-completed, en:ingredients-completed, en:expiration-date-to-be-completed, en:packaging-code-to-be-completed, en:characteristics-completed, en:categories-completed, en:brands-completed, en:packaging-completed, en:quantity-completed, en:product-name-completed, en:photos-validated, en:photos-uploaded], traces_tags: []}
Sucre
huile de palme
huile de noisettes
lait écrémé en poudre
cacao maigre
émulsifiants
vanilline
lécithines de soja
00:03 +3 -6: /home/peter/git/openfoodfacts-dart/test/api_searchProducts_test.dart: OpenFoodAPIClient search products search favorite products EN
URI: https://world.openfoodfacts.org/cgi/search.pl?json=1&page=14&page_size=3&search_type=1&sort_by=last_modified_t&search_terms&lc=en
TEST-MODE
00:03 +3 -6: /home/peter/git/openfoodfacts-dart/test/api_getRobotoff_test.dart: OpenFoodAPIClient get robotoff questions get questions for Noix de Saint-Jacques EN
TEST-MODE
00:03 +4 -6: /home/peter/git/openfoodfacts-dart/test/api_getProductRaw_test.dart: OpenFoodAPIClient get raw products get product tiny twists - Rold Gold Pretzels - 16 OZ. (1 LB) 453.6g
https://world.openfoodfacts.org/api/v0/product/0028400047685.json?lc=en
TEST-MODE
00:03 +4 -6: /home/peter/git/openfoodfacts-dart/test/api_getRobotoff_test.dart: OpenFoodAPIClient get robotoff questions get questions for Noix de Saint-Jacques EN
No question found for this product, please try with another barcode
00:03 +5 -6: /home/peter/git/openfoodfacts-dart/test/api_getProduct_test.dart: OpenFoodAPIClient get products get product Coca Cola Light
https://world.openfoodfacts.org/api/v0/product/5000112548167.json?lc=de
00:03 +5 -6: /home/peter/git/openfoodfacts-dart/test/api_getRobotoff_test.dart: OpenFoodAPIClient get robotoff questions get questions for Noix de Saint-Jacques FR
TEST-MODE
00:03 +5 -6: /home/peter/git/openfoodfacts-dart/test/api_getProduct_test.dart: OpenFoodAPIClient get products get product Coca Cola Light
TEST-MODE
00:03 +6 -6: /home/peter/git/openfoodfacts-dart/test/api_getProductRaw_test.dart: OpenFoodAPIClient get raw products get product test 2
TEST-MODE
00:03 +6 -6: /home/peter/git/openfoodfacts-dart/test/api_searchProducts_test.dart: OpenFoodAPIClient search products search favorite products EN
Unable to parse data to double : NoSuchMethodError: The getter 'length' was called on null.
Receiver: null
Tried calling: length
Unable to parse data to double : NoSuchMethodError: The getter 'length' was called on null.
Receiver: null
Tried calling: length
{code: 3250390796633, product_name: P'tites Ailes rôties, product_name_fr: P'tites Ailes rôties, brands: Netto, brands_tags: [netto], lang: fr, quantity: 250 g, image_small_url: https://static.openfoodfacts.org/images/products/325/039/079/6633/front_fr.8.200.jpg, serving_size: 90 g, serving_quantity: 90.0, product_quantity: 250, selected_images: {front: {thumb: {fr: https://static.openfoodfacts.org/images/products/325/039/079/6633/front_fr.8.100.jpg}, small: {fr: https://static.openfoodfacts.org/images/products/325/039/079/6633/front_fr.8.200.jpg}, display: {fr: https://static.openfoodfacts.org/images/products/325/039/079/6633/front_fr.8.400.jpg}, original: {}, null: {}}, ingredients: {thumb: {fr: https://static.openfoodfacts.org/images/products/325/039/079/6633/ingredients_fr.14.100.jpg}, small: {fr: https://static.openfoodfacts.org/images/products/325/039/079/6633/ingredients_fr.14.200.jpg}, display: {fr: https://static.openfoodfacts.org/images/products/325/039/079/6633/ingredients_fr.14.400.jpg}, original: {}, null: {}}, nutrition: {thumb: {fr: https://static.openfoodfacts.org/images/products/325/039/079/6633/nutrition_fr.11.100.jpg}, small: {fr: https://static.openfoodfacts.org/images/products/325/039/079/6633/nutrition_fr.11.200.jpg}, display: {fr: https://static.openfoodfacts.org/images/products/325/039/079/6633/nutrition_fr.11.400.jpg}, original: {}, null: {}}, other: {thumb: {}, small: {}, display: {}, original: {}, null: {}}}, images: {}, ingredients: [Instance of 'Ingredient', Instance of 'Ingredient', Instance of 'Ingredient', Instance of 'Ingredient', Instance of 'Ingredient', Instance of 'Ingredient', Instance of 'Ingredient', Instance of 'Ingredient', Instance of 'Ingredient', Instance of 'Ingredient', Instance of 'Ingredient', Instance of 'Ingredient'], nutriments: {salt_100g: 1.44, sugars_100g: 0.6, fat_100g: 10.7, saturated-fat_100g: 3.5, proteins_100g: 20.1, nova-group_100g: 4, energy_100g: 792.0, carbohydrates_100g: 3.1, salt_serving: 1.3, sugars_serving: 0.54, fat_serving: 9.63, saturated-fat_serving: 3.15, proteins_serving: 18.1, nova-group_serving: 4, energy_serving: 713.0, carbohydrates_serving: 2.79, energy_unit: KJ}, additives_tags: Instance of 'Additives', nutrient_levels: Instance of 'NutrientLevels', ingredients_text: Manchons de poulet (UE) (85%), sirop de glucose, amidon transformé de tapioca, sel, arôme (contient _gluten_ ), épaississant: carraghénanes. Peut contenir des traces de céréales, soja, oeuf, lait, céleri et moutarde., ingredients_text_fr: Manchons de poulet (UE) (85%), sirop de glucose, amidon transformé de tapioca, sel, arôme (contient _gluten_ ), épaississant: carraghénanes. Peut contenir des traces de céréales, soja, oeuf, lait, céleri et moutarde., ingredients_analysis_tags: [en:non-vegan, en:non-vegetarian, en:palm-oil-free], nutrition_data_per: 100g, nutrition_grade_fr: d, categories: Viandes, Volailles, Poulets, Poulets cuisinés, Manchons de poulet, categories_tags: [en:meats, en:poultries, en:chickens, en:cooked-chicken, en:chicken-drumsticks], labels_tags: [en:no-flavour-enhancer, en:green-dot, en:no-preservatives], states_tags: [en:to-be-checked, en:complete, en:nutrition-facts-completed, en:ingredients-completed, en:expiration-date-completed, en:packaging-code-to-be-completed, en:characteristics-completed, en:categories-completed, en:brands-completed, en:packaging-completed, en:quantity-completed, en:product-name-completed, en:photos-validated, en:photos-uploaded], traces_tags: [en:celery, en:eggs, en:fish, en:gluten, en:milk, en:molluscs, en:mustard, en:soybeans]}
00:03 +7 -6: /home/peter/git/openfoodfacts-dart/test/api_searchProducts_test.dart: OpenFoodAPIClient search products type bug : ingredient percent int vs String
URI: https://world.openfoodfacts.org/cgi/search.pl?json=1&page=16&page_size=5&search_type=1&sort_by=unique_scans_n&search_terms&lc=de
TEST-MODE
00:03 +7 -6: /home/peter/git/openfoodfacts-dart/test/api_getRobotoff_test.dart: OpenFoodAPIClient get robotoff questions get questions for Noix de Saint-Jacques FR
No question found for this product, please try with another barcode
00:03 +8 -6: /home/peter/git/openfoodfacts-dart/test/api_getRobotoff_test.dart: OpenFoodAPIClient get robotoff questions get 2 random questions
https://robotoff.openfoodfacts.org/api/v1/questions/random?lang=fr&count=2&insight_types=category
TEST-MODE
00:03 +8 -6: /home/peter/git/openfoodfacts-dart/test/api_getProductRaw_test.dart: OpenFoodAPIClient get raw products get product test 2
Unable to parse data to double : NoSuchMethodError: The getter 'length' was called on null.
Receiver: null
Tried calling: length
00:03 +9 -6: /home/peter/git/openfoodfacts-dart/test/api_getProduct_test.dart: OpenFoodAPIClient get products get product Coca Cola Light
Unable to parse data to double : NoSuchMethodError: The getter 'length' was called on null.
Receiver: null
Tried calling: length
Wasser, Kohlensäure, Farbstoff E 150d, Säuerungsmittel Phosphorsäure und Citronensäure, Süßungsmittel (Natriumcyclamat, Acesulfam K, Aspartam), Aroma, Aroma Koffein.
{rank: 1, id: en:water, text: Wasser, bold: null}
{rank: 2, id: en:e290, text: Kohlensäure, bold: null}
{rank: 3, id: en:colour, text: Farbstoff, bold: null}
{rank: 4, id: en:acid, text: Säuerungsmittel, bold: null}
{rank: 5, id: en:sweetener, text: Süßungsmittel, bold: null}
{rank: 6, id: en:flavouring, text: Aroma, bold: null}
{rank: 7, id: de:aroma-koffein, text: Aroma Koffein, bold: null}
{id: en:e150d, text: e150d, bold: null}
{id: en:e338, text: Phosphorsäure, bold: null}
{id: en:e330, text: Citronensäure, bold: null}
{id: en:e952, text: Natriumcyclamat, bold: null}
{id: en:e950, text: Acesulfam K, bold: null}
{id: en:e951, text: Aspartam, bold: null}
00:03 +10 -6: /home/peter/git/openfoodfacts-dart/test/api_getProduct_test.dart: OpenFoodAPIClient get products get product tiny twists - Rold Gold Pretzels - 16 OZ. (1 LB) 453.6g
https://world.openfoodfacts.org/api/v0/product/0028400047685.json?lc=en
TEST-MODE
23.0
00:03 +11 -6: /home/peter/git/openfoodfacts-dart/test/api_getProduct_test.dart: OpenFoodAPIClient get products get product Danish Butter Cookies & Chocolate Chip Cookies
https://world.openfoodfacts.org/api/v0/product/5701184005007.json?lc=de
TEST-MODE
00:03 +11 -6: /home/peter/git/openfoodfacts-dart/test/api_searchProducts_test.dart: OpenFoodAPIClient search products type bug : ingredient percent int vs String
Instance of 'SearchResult'
{code: 5449000232250, product_name: Thé glacé pêche intense, product_name_en: , product_name_fr: Thé glacé pêche intense, brands: Fuze Tea, brands_tags: [fuze-tea], lang: fr, quantity: 1.25L, image_small_url: https://static.openfoodfacts.org/images/products/544/900/023/2250/front_fr.184.200.jpg, serving_size: 250ml, serving_quantity: 250.0, product_quantity: 1250, selected_images: {front: {thumb: {fr: https://static.openfoodfacts.org/images/products/544/900/023/2250/front_fr.184.100.jpg}, small: {fr: https://static.openfoodfacts.org/images/products/544/900/023/2250/front_fr.184.200.jpg}, display: {fr: https://static.openfoodfacts.org/images/products/544/900/023/2250/front_fr.184.400.jpg}, original: {}, null: {}}, ingredients: {thumb: {fr: https://static.openfoodfacts.org/images/products/544/900/023/2250/ingredients_fr.174.100.jpg}, small: {fr: https://static.openfoodfacts.org/images/products/544/900/023/2250/ingredients_fr.174.200.jpg}, display: {fr: https://static.openfoodfacts.org/images/products/544/900/023/2250/ingredients_fr.174.400.jpg}, original: {}, null: {}}, nutrition: {thumb: {fr: https://static.openfoodfacts.org/images/products/544/900/023/2250/nutrition_fr.185.100.jpg}, small: {fr: https://static.openfoodfacts.org/images/products/544/900/023/2250/nutrition_fr.185.200.jpg}, display: {fr: https://static.openfoodfacts.org/images/products/544/900/023/2250/nutrition_fr.185.400.jpg}, original: {}, null: {}}, other: {thumb: {}, small: {}, display: {}, original: {}, null: {}}}, images: {}, ingredients: [Instance of 'Ingredient', Instance of 'Ingredient', Instance of 'Ingredient', Instance of 'Ingredient', Instance of 'Ingredient', Instance of 'Ingredient', Instance of 'Ingredient', Instance of 'Ingredient', Instance of 'Ingredient', Instance of 'Ingredient', Instance of 'Ingredient', Instance of 'Ingredient', Instance of 'Ingredient', Instance of 'Ingredient', Instance of 'Ingredient'], nutriments: {salt_100g: 0.03, sugars_100g: 4.3, fat_100g: 0.0, saturated-fat_100g: 0.0, proteins_100g: 0.0, nova-group_100g: 4, energy_100g: 79.0, carbohydrates_100g: 4.4, salt_serving: 0.075, sugars_serving: 10.8, fat_serving: 0.0, saturated-fat_serving: 0.0, proteins_serving: 0.0, nova-group_serving: 4, energy_serving: 198.0, carbohydrates_serving: 11.0, energy_unit: KJ}, additives_tags: Instance of 'Additives', nutrient_levels: Instance of 'NutrientLevels', ingredients_text: Eau, sucre, jus de pêche à base de concentré (1%), acidifiants : acide citrique, citrate de sodium, acide malique, extraits de thé (0,12 %), arômes naturels de pêche et thé avec autres arômes naturels, antioxydant : acide ascorbique, édulcorant : glycosides de stéviol., ingredients_text_en: , ingredients_text_fr: Eau, sucre, jus de pêche à base de concentré (1%), acidifiants : acide citrique, citrate de sodium, acide malique, extraits de thé (0,12 %), arômes naturels de pêche et thé avec autres arômes naturels, antioxydant : acide ascorbique, édulcorant : glycosides de stéviol., ingredients_analysis_tags: [en:maybe-vegan, en:maybe-vegetarian, en:palm-oil-free], nutrition_data_per: 100g, nutrition_grade_fr: d, categories: Beverages,Artificially sweetened beverages,Non-Alcoholic beverages,Tea-based beverages,Iced teas,Peach flavored iced teas,Sweetened beverages, categories_tags: [en:beverages, en:artificially-sweetened-beverages, en:non-alcoholic-beverages, en:tea-based-beverages, en:iced-teas, en:peach-flavored-iced-teas, en:sweetened-beverages], labels_tags: [en:with-sweeteners], states_tags: [en:to-be-checked, en:complete, en:nutrition-facts-completed, en:ingredients-completed, en:expiration-date-completed, en:packaging-code-completed, en:characteristics-completed, en:categories-completed, en:brands-completed, en:packaging-completed, en:quantity-completed, en:product-name-completed, en:photos-validated, en:photos-uploaded], traces_tags: []}
null
null
1.0
null
null
null
0.12
null
null
null
null
null
null
null
null
{code: 7613035866386, product_name: Eau, product_name_fr: Eau, brands: Contrex, brands_tags: [contrex], lang: fr, quantity: 1,5 l, image_small_url: https://static.openfoodfacts.org/images/products/761/303/586/6386/front_fr.101.200.jpg, serving_size: 1 l, serving_quantity: 1000.0, product_quantity: 1500, selected_images: {front: {thumb: {fr: https://static.openfoodfacts.org/images/products/761/303/586/6386/front_fr.101.100.jpg}, small: {fr: https://static.openfoodfacts.org/images/products/761/303/586/6386/front_fr.101.200.jpg}, display: {fr: https://static.openfoodfacts.org/images/products/761/303/586/6386/front_fr.101.400.jpg}, original: {}, null: {}}, ingredients: {thumb: {fr: https://static.openfoodfacts.org/images/products/761/303/586/6386/ingredients_fr.42.100.jpg}, small: {fr: https://static.openfoodfacts.org/images/products/761/303/586/6386/ingredients_fr.42.200.jpg}, display: {fr: https://static.openfoodfacts.org/images/products/761/303/586/6386/ingredients_fr.42.400.jpg}, original: {}, null: {}}, nutrition: {thumb: {fr: https://static.openfoodfacts.org/images/products/761/303/586/6386/nutrition_fr.54.100.jpg}, small: {fr: https://static.openfoodfacts.org/images/products/761/303/586/6386/nutrition_fr.54.200.jpg}, display: {fr: https://static.openfoodfacts.org/images/products/761/303/586/6386/nutrition_fr.54.400.jpg}, original: {}, null: {}}, other: {thumb: {}, small: {}, display: {}, original: {}, null: {}}}, images: {}, ingredients: [Instance of 'Ingredient', Instance of 'Ingredient'], nutriments: {salt_100g: 0.002, sugars_100g: 0.0, fat_100g: 0.0, saturated-fat_100g: 0.0, proteins_100g: 0.0, nova-group_100g: 1, energy_100g: 0.0, carbohydrates_100g: 0.0, salt_serving: 0.02, sugars_serving: 0.0, fat_serving: 0.0, saturated-fat_serving: 0.0, proteins_serving: 0.0, nova-group_serving: 1, energy_serving: 0.0, carbohydrates_serving: 0.0, energy_unit: KCAL}, additives_tags: Instance of 'Additives', nutrient_levels: Instance of 'NutrientLevels', ingredients_text: Eau minérale naturelle (source Contrex), ingredients_text_fr: Eau minérale naturelle (source Contrex), ingredients_analysis_tags: [en:maybe-vegan, en:maybe-vegetarian, en:maybe-palm-oil-free], nutrition_data_per: serving, nutrition_grade_fr: a, categories: Beverages, Dairies, Waters, Spring waters, Mineral waters, Natural mineral waters, en:unsweetened-beverages, categories_tags: [en:beverages, en:dairies, en:waters, en:spring-waters, en:mineral-waters, en:natural-mineral-waters, en:unsweetened-beverages], labels_tags: [en:green-dot, en:low-sodium], states_tags: [en:to-be-checked, en:complete, en:nutrition-facts-completed, en:ingredients-completed, en:expiration-date-completed, en:packaging-code-to-be-completed, en:characteristics-completed, en:categories-completed, en:brands-completed, en:packaging-completed, en:quantity-completed, en:product-name-completed, en:photos-validated, en:photos-uploaded], traces_tags: []}
null
null
{code: 5010477348678, product_name: Muesli 30% fruits & noix céréales complètes, product_name_en: Mueslis, product_name_fr: Muesli 30% fruits & noix céréales complètes, brands: Jordans, brands_tags: [jordans], lang: fr, quantity: 750 g, image_small_url: https://static.openfoodfacts.org/images/products/501/047/734/8678/front_fr.148.200.jpg, serving_size: 45g, serving_quantity: 45.0, product_quantity: 750, selected_images: {front: {thumb: {fr: https://static.openfoodfacts.org/images/products/501/047/734/8678/front_fr.148.100.jpg}, small: {fr: https://static.openfoodfacts.org/images/products/501/047/734/8678/front_fr.148.200.jpg}, display: {fr: https://static.openfoodfacts.org/images/products/501/047/734/8678/front_fr.148.400.jpg}, original: {}, null: {}}, ingredients: {thumb: {fr: https://static.openfoodfacts.org/images/products/501/047/734/8678/ingredients_fr.149.100.jpg}, small: {fr: https://static.openfoodfacts.org/images/products/501/047/734/8678/ingredients_fr.149.200.jpg}, display: {fr: https://static.openfoodfacts.org/images/products/501/047/734/8678/ingredients_fr.149.400.jpg}, original: {}, null: {}}, nutrition: {thumb: {fr: https://static.openfoodfacts.org/images/products/501/047/734/8678/nutrition_fr.153.100.jpg}, small: {fr: https://static.openfoodfacts.org/images/products/501/047/734/8678/nutrition_fr.153.200.jpg}, display: {fr: https://static.openfoodfacts.org/images/products/501/047/734/8678/nutrition_fr.153.400.jpg}, original: {}, null: {}}, other: {thumb: {}, small: {}, display: {}, original: {}, null: {}}}, images: {}, ingredients: [Instance of 'Ingredient', Instance of 'Ingredient', Instance of 'Ingredient', Instance of 'Ingredient', Instance of 'Ingredient', Instance of 'Ingredient', Instance of 'Ingredient', Instance of 'Ingredient', Instance of 'Ingredient', Instance of 'Ingredient', Instance of 'Ingredient', Instance of 'Ingredient', Instance of 'Ingredient', Instance of 'Ingredient'], nutriments: {salt_100g: 0.03, fiber_100g: 8.8, sugars_100g: 17.2, fat_100g: 7.2, saturated-fat_100g: 2.0, proteins_100g: 10.2, nova-group_100g: 1, energy_100g: 1523.0, carbohydrates_100g: 59.6, salt_serving: 0.0135, fiber_serving: 3.96, sugars_serving: 7.74, fat_serving: 3.24, saturated-fat_serving: 0.9, proteins_serving: 4.59, nova-group_serving: 1, energy_serving: 685.0, carbohydrates_serving: 26.8, energy_unit: KJ}, additives_tags: Instance of 'Additives', nutrient_levels: Instance of 'NutrientLevels', ingredients_text: Céréales Complètes (59%) (Flocons d'Avoine, Flocons de Blé, Flocons de Blé Grillés), Fruits Secs & Noix (30%) (Raisins Secs, Abricots secs hachés, Tranches de Pommes Séchées, Éclats de Noix de Coco Grillés, Noisettes Hachées Grillées, Amandes Effilées), Flocons d'Orge, Graines de Tournesol., ingredients_text_en: , ingredients_text_fr: Céréales Complètes (59%) (Flocons d'Avoine, Flocons de Blé, Flocons de Blé Grillés), Fruits Secs & Noix (30%) (Raisins Secs, Abricots secs hachés, Tranches de Pommes Séchées, Éclats de Noix de Coco Grillés, Noisettes Hachées Grillées, Amandes Effilées), Flocons d'Orge, Graines de Tournesol., ingredients_analysis_tags: [en:maybe-vegan, en:maybe-vegetarian, en:maybe-palm-oil-free], nutrition_data_per: 100g, nutrition_grade_fr: a, categories: Aliments et boissons à base de végétaux,Aliments d'origine végétale,Petit-déjeuners,Céréales et pommes de terre,Céréales et dérivés,Céréales pour petit-déjeuner,Mueslis,Mueslis aux fruits,Mueslis aux noix, categories_tags: [en:plant-based-foods-and-beverages, en:plant-based-foods, en:cereals-and-potatoes, en:breakfasts, en:cereals-and-their-products, en:breakfast-cereals, en:mueslis, en:mueslis-with-fruits, fr:mueslis-aux-noix], labels_tags: [en:new-recipe, en:no-added-sugar, en:no-colorings, en:no-preservatives], states_tags: [en:to-be-checked, en:complete, en:nutrition-facts-completed, en:ingredients-completed, en:expiration-date-completed, en:packaging-code-to-be-completed, en:characteristics-completed, en:categories-completed, en:brands-completed, en:packaging-completed, en:quantity-completed, en:product-name-completed, en:photos-validated, en:photos-uploaded], traces_tags: [en:gluten, en:nuts]}
59.0
30.0
30.0
null
null
null
null
null
null
null
null
null
null
null
{code: 3664346305990, product_name: Grand Arôme 32% de Cacao, product_name_fr: Grand Arôme 32% de Cacao, brands: Poulain, brands_tags: [poulain], lang: fr, quantity: 450 g, image_small_url: https://static.openfoodfacts.org/images/products/366/434/630/5990/front_fr.56.200.jpg, serving_size: 20 g + 200 ml, serving_quantity: 20.0, product_quantity: 450, selected_images: {front: {thumb: {fr: https://static.openfoodfacts.org/images/products/366/434/630/5990/front_fr.56.100.jpg}, small: {fr: https://static.openfoodfacts.org/images/products/366/434/630/5990/front_fr.56.200.jpg}, display: {fr: https://static.openfoodfacts.org/images/products/366/434/630/5990/front_fr.56.400.jpg}, original: {}, null: {}}, ingredients: {thumb: {fr: https://static.openfoodfacts.org/images/products/366/434/630/5990/ingredients_fr.51.100.jpg}, small: {fr: https://static.openfoodfacts.org/images/products/366/434/630/5990/ingredients_fr.51.200.jpg}, display: {fr: https://static.openfoodfacts.org/images/products/366/434/630/5990/ingredients_fr.51.400.jpg}, original: {}, null: {}}, nutrition: {thumb: {fr: https://static.openfoodfacts.org/images/products/366/434/630/5990/nutrition_fr.52.100.jpg}, small: {fr: https://static.openfoodfacts.org/images/products/366/434/630/5990/nutrition_fr.52.200.jpg}, display: {fr: https://static.openfoodfacts.org/images/products/366/434/630/5990/nutrition_fr.52.400.jpg}, original: {}, null: {}}, other: {thumb: {}, small: {}, display: {}, original: {}, null: {}}}, images: {}, ingredients: [Instance of 'Ingredient', Instance of 'Ingredient', Instance of 'Ingredient', Instance of 'Ingredient', Instance of 'Ingredient'], nutriments: {salt_100g: 0.03, fiber_100g: 10.5, sugars_100g: 67.0, fat_100g: 3.9, saturated-fat_100g: 2.4, proteins_100g: 7.5, nova-group_100g: 4, energy_100g: 1575.0, carbohydrates_100g: 71.0, salt_serving: 0.006, fiber_serving: 2.1, sugars_serving: 13.4, fat_serving: 0.78, saturated-fat_serving: 0.48, proteins_serving: 1.5, nova-group_serving: 4, energy_serving: 315.0, carbohydrates_serving: 14.2, energy_unit: KJ}, additives_tags: Instance of 'Additives', nutrient_levels: Instance of 'NutrientLevels', ingredients_text: Sucre, cacao maigre (11 % de beurre de cacao) en poudre, arôme., ingredients_text_fr: Sucre, cacao maigre (11 % de beurre de cacao) en poudre, arôme., ingredients_analysis_tags: [en:maybe-vegan, en:maybe-vegetarian, en:maybe-palm-oil-free], nutrition_data_per: 100g, nutrition_grade_fr: e, categories: Boissons,Petit-déjeuners,Produits déshydratés,Produits lyophilisés à reconstituer,Boissons instantanées,Cacaos et chocolats en poudre,Chocolats en poudre, categories_tags: [en:beverages, en:breakfasts, en:dried-products, en:dried-products-to-be-rehydrated, en:instant-beverages, en:cocoa-and-chocolate-powders, en:chocolate-powders], labels_tags: [en:green-dot, en:made-in-france], states_tags: [en:checked, en:complete, en:nutrition-facts-completed, en:ingredients-completed, en:expiration-date-to-be-completed, en:packaging-code-to-be-completed, en:characteristics-completed, en:categories-completed, en:brands-completed, en:packaging-completed, en:quantity-completed, en:product-name-completed, en:photos-validated, en:photos-uploaded], traces_tags: [en:milk, en:soybeans]}
null
null
null
null
11.0
{code: 5410041001204, product_name: TUC Original, product_name_de: TUC Original, product_name_en: TUC Original, product_name_fr: TUC original, brands: LU, brands_tags: [lu], lang: en, quantity: 100 g, image_small_url: https://static.openfoodfacts.org/images/products/541/004/100/1204/front_de.167.200.jpg, serving_size: 3 g, serving_quantity: 3.0, product_quantity: 100, selected_images: {front: {thumb: {de: https://static.openfoodfacts.org/images/products/541/004/100/1204/front_de.167.100.jpg}, small: {de: https://static.openfoodfacts.org/images/products/541/004/100/1204/front_de.167.200.jpg}, display: {de: https://static.openfoodfacts.org/images/products/541/004/100/1204/front_de.167.400.jpg}, original: {}, null: {}}, ingredients: {thumb: {de: https://static.openfoodfacts.org/images/products/541/004/100/1204/ingredients_de.168.100.jpg}, small: {de: https://static.openfoodfacts.org/images/products/541/004/100/1204/ingredients_de.168.200.jpg}, display: {de: https://static.openfoodfacts.org/images/products/541/004/100/1204/ingredients_de.168.400.jpg}, original: {}, null: {}}, nutrition: {thumb: {de: https://static.openfoodfacts.org/images/products/541/004/100/1204/nutrition_de.169.100.jpg}, small: {de: https://static.openfoodfacts.org/images/products/541/004/100/1204/nutrition_de.169.200.jpg}, display: {de: https://static.openfoodfacts.org/images/products/541/004/100/1204/nutrition_de.169.400.jpg}, original: {}, null: {}}, other: {thumb: {}, small: {}, display: {}, original: {}, null: {}}}, images: {}, ingredients: [Instance of 'Ingredient', Instance of 'Ingredient', Instance of 'Ingredient', Instance of 'Ingredient', Instance of 'Ingredient', Instance of 'Ingredient', Instance of 'Ingredient', Instance of 'Ingredient', Instance of 'Ingredient', Instance of 'Ingredient', Instance of 'Ingredient', Instance of 'Ingredient', Instance of 'Ingredient', Instance of 'Ingredient'], nutriments: {salt_100g: 1.75, fiber_100g: 2.4, sugars_100g: 7.1, fat_100g: 19.0, saturated-fat_100g: 1.9, proteins_100g: 8.3, nova-group_100g: 4, energy_100g: 2006.0, carbohydrates_100g: 67.0, salt_serving: 0.0525, fiber_serving: 0.072, sugars_serving: 0.213, fat_serving: 0.57, saturated-fat_serving: 0.057, proteins_serving: 0.249, nova-group_serving: 4, energy_serving: 60.2, carbohydrates_serving: 2.01, energy_unit: KJ}, additives_tags: Instance of 'Additives', nutrient_levels: Instance of 'NutrientLevels', ingredients_text: wheat flour, palm fat, barley malt extract, glucose syrup, raising agents (ammonium hydrogen carbonate, sodium hydrogen carbonate), eggs , salt, flavouring, flour treatment agent (sodium sulphite ), emulsifier (sunflower lecithin), ingredients_text_de: _Weizenmehl_, Sonnenblumenöl (17%), _Gerstenmalzextrakt_, Glukosesirup, Backtriebmittel (Ammoniumcarbonate, Natriumcarbonate), Speisesalz, _Ei_, Aroma, Mehlbehandlungsmittel (_Natriumsulfit_), Emulgator (Sonnenblumenlecithin)., ingredients_text_en: wheat flour, palm fat, barley malt extract, glucose syrup, raising agents (ammonium hydrogen carbonate, sodium hydrogen carbonate), eggs , salt, flavouring, flour treatment agent (sodium sulphite ), emulsifier (sunflower lecithin), ingredients_text_fr: Farine de blé, huile de tournesol 17%, extrait de malt d'orge, sirop de glucose, poudre à lever (carbonates d’ammonium, carbonate de sodium), sel, œufs, arôme, agent de traitement de la farine (sulfite de sodium), émulsifiant (lécithine de tournesol). Peut contenir lait, soja, sésame., ingredients_analysis_tags: [en:non-vegan, en:maybe-vegetarian, en:maybe-palm-oil-free], nutrition_data_per: 100g, nutrition_grade_fr: d, categories: Imbiss,Salzige Snacks,Süßwaren,Vorspeisen,Fertiggerichte,Kekse und Kuchen,Kekse,Crackers, categories_tags: [en:snacks, en:salty-snacks, en:sweet-snacks, en:appetizers, en:meals, en:biscuits-and-cakes, en:biscuits, en:crackers, en:starters], labels_tags: [], states_tags: [en:checked, en:complete, en:nutrition-facts-completed, en:ingredients-completed, en:expiration-date-completed, en:packaging-code-to-be-completed, en:characteristics-completed, en:categories-completed, en:brands-completed, en:packaging-completed, en:quantity-completed, en:product-name-completed, en:photos-validated, en:photos-uploaded], traces_tags: [en:milk, en:sesame-seeds, en:soybeans]}
null
null
null
null
null
null
null
null
null
null
null
null
null
null
00:03 +12 -6: /home/peter/git/openfoodfacts-dart/test/api_searchProducts_test.dart: OpenFoodAPIClient search products search products by keywords
URI: https://world.openfoodfacts.org/cgi/search.pl?json=1&page=5&page_size=10&search_type=1&sort_by=product_name&search_terms=Fruit&lc=fr
TEST-MODE
00:03 +12 -6: /home/peter/git/openfoodfacts-dart/test/api_getProduct_test.dart: OpenFoodAPIClient get products get product Danish Butter Cookies & Chocolate Chip Cookies
Unable to parse data to double : NoSuchMethodError: The getter 'length' was called on null.
Receiver: null
Tried calling: length
Buttergebäck (_Weizenmehl_, Zucker, _Butter_ 26%, Speisesalz, Backtriebmittel (Ammouniumhydrogencarbonat), Invertzuckersirup, natürliches Aroma),
Schokolade Mürbegebäck (_Weizenmehl_, Pflanzenfett (Palm), Zucker, Schokoladenstückchen 10% (Zucker, Kakaomasse, Kakaobutter, Emulgator (Lecithin)), Backtriebmittel (Ammouniumhydrogencarbonat), fettarmes Kakaopulver, Speisesalz)
00:03 +12 -7: /home/peter/git/openfoodfacts-dart/test/api_getProduct_test.dart: OpenFoodAPIClient get products get product Danish Butter Cookies & Chocolate Chip Cookies [E]
Expected: <18>
Actual: <24>
package:test_api expect
package:flutter_test/src/widget_tester.dart 348:3 expect
api_getProduct_test.dart 152:7 main.<fn>.<fn>
00:03 +12 -7: /home/peter/git/openfoodfacts-dart/test/api_getProduct_test.dart: OpenFoodAPIClient get products get product Pâte brisée
https://world.openfoodfacts.org/api/v0/product/20004361.json?lc=fr
TEST-MODE
00:04 +12 -7: /home/peter/git/openfoodfacts-dart/test/api_searchProducts_test.dart: OpenFoodAPIClient search products search products by keywords
Unable to parse data to double : NoSuchMethodError: The getter 'length' was called on null.
Receiver: null
Tried calling: length
Unable to parse data to double : NoSuchMethodError: The getter 'length' was called on null.
Receiver: null
Tried calling: length
Unable to parse data to double : NoSuchMethodError: The getter 'length' was called on null.
Receiver: null
Tried calling: length
Unable to parse data to double : NoSuchMethodError: The getter 'length' was called on null.
Receiver: null
Tried calling: length
Unable to parse data to double : NoSuchMethodError: The getter 'length' was called on null.
Receiver: null
Tried calling: length
Unable to parse data to double : NoSuchMethodError: The getter 'length' was called on null.
Receiver: null
Tried calling: length
Unable to parse data to double : NoSuchMethodError: The getter 'length' was called on null.
Receiver: null
Tried calling: length
00:04 +13 -7: /home/peter/git/openfoodfacts-dart/test/api_searchProducts_test.dart: OpenFoodAPIClient search products search products filter additives
URI: https://world.openfoodfacts.org/cgi/search.pl?json=1&page=5&page_size=10&search_type=1&sort_by=product_name&search_terms=Fruit+%C3%A0+coques&additives&lc=fr
TEST-MODE
00:04 +13 -8: /home/peter/git/openfoodfacts-dart/test/api_getProduct_test.dart: OpenFoodAPIClient get products get product Pâte brisée [E]
Expected: 'Pâte brisée'
Actual: 'Ice Cream, Dulce De Leche'
Which: is different.
Expected: Pâte brisé ...
Actual: Ice Cream, ...
^
Differ at offset 0
package:test_api expect
package:flutter_test/src/widget_tester.dart 348:3 expect
api_getProduct_test.dart 230:7 main.<fn>.<fn>
00:04 +13 -8: /home/peter/git/openfoodfacts-dart/test/api_getProduct_test.dart: OpenFoodAPIClient get products product not available
https://world.openfoodfacts.org/api/v0/product/11111111111111111111111111.json?lc=de
TEST-MODE
00:04 +14 -8: /home/peter/git/openfoodfacts-dart/test/api_getProduct_test.dart: OpenFoodAPIClient get products product ingredients
https://world.openfoodfacts.org/api/v0/product/4316268596299.json?lc=de
TEST-MODE
00:04 +14 -8: /home/peter/git/openfoodfacts-dart/test/api_searchProducts_test.dart: OpenFoodAPIClient search products search products filter additives
Unable to parse data to double : NoSuchMethodError: The getter 'length' was called on null.
Receiver: null
Tried calling: length
Unable to parse data to double : NoSuchMethodError: The getter 'length' was called on null.
Receiver: null
Tried calling: length
Unable to parse data to double : NoSuchMethodError: The getter 'length' was called on null.
Receiver: null
Tried calling: length
Unable to parse data to double : NoSuchMethodError: The getter 'length' was called on null.
Receiver: null
Tried calling: length
Unable to parse data to double : NoSuchMethodError: The getter 'length' was called on null.
Receiver: null
Tried calling: length
Unable to parse data to double : NoSuchMethodError: The getter 'length' was called on null.
Receiver: null
Tried calling: length
Unable to parse data to double : NoSuchMethodError: The getter 'length' was called on null.
Receiver: null
Tried calling: length
Unable to parse data to double : NoSuchMethodError: The getter 'length' was called on null.
Receiver: null
Tried calling: length
URI: https://world.openfoodfacts.org/cgi/search.pl?json=1&page=5&page_size=10&search_type=1&sort_by=product_name&search_terms=Fruit+%C3%A0+coques&additives=without&lc=fr
TEST-MODE
00:04 +14 -8: /home/peter/git/openfoodfacts-dart/test/api_getProduct_test.dart: OpenFoodAPIClient get products product ingredients
number of ingredients: 27
00:04 +16 -8: /home/peter/git/openfoodfacts-dart/test/api_getProduct_test.dart: OpenFoodAPIClient get products product fields
https://world.openfoodfacts.org/api/v0/product/20004361.json?lc=de&fields=product_name%2Cbrands_tags
TEST-MODE
00:04 +16 -8: /home/peter/git/openfoodfacts-dart/test/api_getRobotoff_test.dart: OpenFoodAPIClient get robotoff insights get random insight
https://robotoff.openfoodfacts.org/api/v1/insights/random/?type=category
TEST-MODE
00:04 +16 -8: /home/peter/git/openfoodfacts-dart/test/api_searchProducts_test.dart: OpenFoodAPIClient search products search products filter additives
Unable to parse data to double : NoSuchMethodError: The getter 'length' was called on null.
Receiver: null
Tried calling: length
Unable to parse data to double : NoSuchMethodError: The getter 'length' was called on null.
Receiver: null
Tried calling: length
Unable to parse data to double : NoSuchMethodError: The getter 'length' was called on null.
Receiver: null
Tried calling: length
Unable to parse data to double : NoSuchMethodError: The getter 'length' was called on null.
Receiver: null
Tried calling: length
Unable to parse data to double : NoSuchMethodError: The getter 'length' was called on null.
Receiver: null
Tried calling: length
Unable to parse data to double : NoSuchMethodError: The getter 'length' was called on null.
Receiver: null
Tried calling: length
Unable to parse data to double : NoSuchMethodError: The getter 'length' was called on null.
Receiver: null
Tried calling: length
Unable to parse data to double : NoSuchMethodError: The getter 'length' was called on null.
Receiver: null
Tried calling: length
Unable to parse data to double : NoSuchMethodError: The getter 'length' was called on null.
Receiver: null
Tried calling: length
Total product count : 2912; Filtered count : 1494
00:04 +17 -8: /home/peter/git/openfoodfacts-dart/test/api_searchProducts_test.dart: OpenFoodAPIClient search products search products with filter on tags
URI: https://world.openfoodfacts.org/cgi/search.pl?json=1&page=5&page_size=10&search_type=1&sort_by=product_name&tagtype_0=categories&tag_contains_0=contains&tag_0=breakfast_cereals&tagtype_1=nutrition_grades&tag_contains_1=contains&tag_1=A&search_terms&lc=fr
TEST-MODE
00:04 +17 -8: /home/peter/git/openfoodfacts-dart/test/api_getProduct_test.dart: OpenFoodAPIClient get products product fields
Unable to parse data to double : NoSuchMethodError: The getter 'length' was called on null.
Receiver: null
Tried calling: length
00:04 +17 -9: /home/peter/git/openfoodfacts-dart/test/api_getProduct_test.dart: OpenFoodAPIClient get products product fields [E]
NoSuchMethodError: The getter 'length' was called on null.
Receiver: null
Tried calling: length
dart:core Object.noSuchMethod
api_getProduct_test.dart 361:41 main.<fn>.<fn>
00:04 +17 -9: /home/peter/git/openfoodfacts-dart/test/api_searchProducts_test.dart: OpenFoodAPIClient search products search products with filter on tags
Unable to parse data to double : NoSuchMethodError: The getter 'length' was called on null.
Receiver: null
Tried calling: length
Unable to parse data to double : NoSuchMethodError: The getter 'length' was called on null.
Receiver: null
Tried calling: length
Unable to parse data to double : NoSuchMethodError: The getter 'length' was called on null.
Receiver: null
Tried calling: length
Unable to parse data to double : NoSuchMethodError: The getter 'length' was called on null.
Receiver: null
Tried calling: length
Unable to parse data to double : NoSuchMethodError: The getter 'length' was called on null.
Receiver: null
Tried calling: length
{code: 50167862010002, product_name: Alara Gluten Free Fruity Oats Muesli, product_name_en: Alara Gluten Free Fruity Oats Muesli, brands: Alara, brands_tags: [alara], lang: en, quantity: 500 g, image_small_url: https://static.openfoodfacts.org/images/products/501/678/620/10002/front_en.3.200.jpg, serving_size: null, serving_quantity: null, product_quantity: 500, selected_images: {front: {thumb: {en: https://static.openfoodfacts.org/images/products/501/678/620/10002/front_en.3.100.jpg}, small: {en: https://static.openfoodfacts.org/images/products/501/678/620/10002/front_en.3.200.jpg}, display: {en: https://static.openfoodfacts.org/images/products/501/678/620/10002/front_en.3.400.jpg}, original: {}, null: {}}, ingredients: {thumb: {}, small: {}, display: {}, original: {}, null: {}}, nutrition: {thumb: {}, small: {}, display: {}, original: {}, null: {}}, other: {thumb: {}, small: {}, display: {}, original: {}, null: {}}}, images: {}, ingredients: [Instance of 'Ingredient', Instance of 'Ingredient', Instance of 'Ingredient', Instance of 'Ingredient', Instance of 'Ingredient', Instance of 'Ingredient', Instance of 'Ingredient'], nutriments: {salt_100g: 0.0, fiber_100g: 8.9, sugars_100g: 20.3, fat_100g: 8.4, saturated-fat_100g: 1.1, proteins_100g: 10.1, nova-group_100g: 1, energy_100g: 1549.0, carbohydrates_100g: 65.6, nova-group_serving: 1, energy_unit: KJ}, additives_tags: Instance of 'Additives', nutrient_levels: Instance of 'NutrientLevels', ingredients_text: _Oat_ Flakes 57%, Sultanas 18%, Sunflower Seeds 7%, Dates Chopped 5.7%, Raisins 5.7%, Linseeds 3.5%, Apricots Chopped 3%, ingredients_text_en: _Oat_ Flakes 57%, Sultanas 18%, Sunflower Seeds 7%, Dates Chopped 5.7%, Raisins 5.7%, Linseeds 3.5%, Apricots Chopped 3%, ingredients_analysis_tags: [en:vegan, en:vegetarian, en:palm-oil-free], nutrition_data_per: 100g, nutrition_grade_fr: a, categories: Plant-based foods and beverages, Plant-based foods, Breakfasts, Cereals and potatoes, Cereals and their products, Breakfast cereals, Flakes, Cereal flakes, Mixed cereal flakes, Mueslis, Wholegrains, categories_tags: [en:plant-based-foods-and-beverages, en:plant-based-foods, en:breakfasts, en:cereals-and-potatoes, en:cereals-and-their-products, en:breakfast-cereals, en:flakes, en:cereal-flakes, en:mixed-cereal-flakes, en:mueslis, en:wholegrains], labels_tags: [en:low-or-no-salt, en:low-or-no-sugar, en:vegetarian, en:gluten-free, en:vegan, en:high-fibres, en:high-proteins, en:no-milk, en:no-salt, en:no-sugar, en:nut-free, en:wheat-free, en:wholegrains], states_tags: [en:to-be-completed, en:nutrition-facts-completed, en:ingredients-completed, en:expiration-date-completed, en:packaging-code-to-be-completed, en:characteristics-completed, en:categories-completed, en:brands-completed, en:packaging-completed, en:quantity-completed, en:product-name-completed, en:photos-to-be-validated, en:photos-uploaded], traces_tags: [en:sodium]}
00:05 +19 -9: /home/peter/git/openfoodfacts-dart/test/api_getRobotoff_test.dart: OpenFoodAPIClient get robotoff insights get product insights
https://robotoff.openfoodfacts.org/api/v1/insights/8025386005564
TEST-MODE
00:05 +20 -9: /home/peter/git/openfoodfacts-dart/test/api_getRobotoff_test.dart: OpenFoodAPIClient get robotoff ingredient spelling corrections get farine de blé spelling corrections
TEST-MODE
00:08 +20 -10: /home/peter/git/openfoodfacts-dart/test/api_getRobotoff_test.dart: OpenFoodAPIClient get robotoff ingredient spelling corrections get farine de blé spelling corrections [E]
NoSuchMethodError: The getter 'length' was called on null.
Receiver: null
Tried calling: length
dart:core Object.noSuchMethod
api_getRobotoff_test.dart 129:52 main.<fn>.<fn>
00:08 +20 -10: Some tests failed
\```
</p>
</details>