DaoStringList class

Where we store string lists with unique items.

Inheritance

Constructors

DaoStringList(LocalDatabase localDatabase)

Properties

hashCode → int
The hash code for this object.
no setterinherited
localDatabase → LocalDatabase
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

add(String key, String string) → Future<void>
Adds a unique value to the end. Removes is before if it pre-existed.
getAll(String key) → List<String>
init() → Future<void>
Best place to open a hive box.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerAdapter() → void
Where the specific registerAdapter hive related method is called.
override
remove(String key, String item) → Future<bool>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

keyLanguages → const String
Key for the list of latest languages used in the app.
keyPriceStores → const String
Key for the list of favorite stores (for price additions).
keySearchLocationHistory → const String
Key for the list of location search history
keySearchProductHistory → const String
Key for the list of product search history.
keyTasksFast → const String
Key for the list of task ids (fast tasks like product detail change).
keyTasksLongHaul → const String
Key for the list of task ids (long haul tasks like full refresh).
keyTasksSlow → const String
Key for the list of task ids (slow tasks like image uploads).