PriceTaxonomyRepository<T> class
abstract
Helper for tag localization using taxonomy.
Constructors
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
-
download(
List< String> tags) → Future<Map< String, T> ?> -
Downloads the taxonomy for the given
tags. -
getCachedMap(
) → Map< String, String> -
getCachedName(
String tag) → String? -
getCachedNames(
List< String> tags) → List<String> ? - Returns the cached names if all are present, or null.
-
getCountry(
) → OpenFoodFactsCountry -
getDownloadedName(
String tag) → Future< String?> -
getDownloadedNames(
List< String> tags) → Future<List< String> ?> -
getLanguage(
) → OpenFoodFactsLanguage -
getTaxonomyNames(
T item) → Map< OpenFoodFactsLanguage, String> ? -
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