OpenFoodSearchAPIClient class
Client calls of the Open Food Facts Elastic Search API.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
autocomplete(
{required String query, required List< TaxonomyName> taxonomyNames, required OpenFoodFactsLanguage language, User? user, int size = 10, Fuzziness fuzziness = Fuzziness.none, UriProductHelper uriHelper = uriHelperFoodProd}) → Future<AutocompleteSearchResult> - Returns a list of suggestions.