CategoryCache class Null safety

Cache where we download and store category data.

Constructors

CategoryCache(dynamic language)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
language → dynamic
Current app language.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

getBestCategoryName(dynamic category) String?
Returns the best translation of the category name.
getCategorySiblingsAndFather({required String fatherTag}) Future<Map<String, dynamic>?>
Returns the siblings AND the father (for tree climbing reasons).
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited