What param should I pass to get products of US #454
Answered
by
monsieurtanuki
Vishnu-Jmatics
asked this question in
Q&A
-
In 'OpenFoodAPIClient.searchProducts()' by keyword what param should I pass to get products of US only? |
Beta Was this translation helpful? Give feedback.
Answered by
monsieurtanuki
Apr 21, 2022
Replies: 2 comments 1 reply
-
ProductSearchQueryConfiguration({
final OpenFoodFactsLanguage? language,
final List<OpenFoodFactsLanguage> languages = const [],
final OpenFoodFactsCountry? country,
final List<ProductField>? fields,
required List<Parameter> parametersList,
})
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
monsieurtanuki
-
@monsieurtanuki Thanks. It works fine. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
final OpenFoodFactsCountry? country
seems appropriate.Another solution would be to set
OpenFoodAPIConfiguration.globalCountry
.