DaoString class Null safety
Where we store strings.
Typical use case: large strings used for onboarding. That's why we use lazy boxes, and not boxes, and not sharedpreferences: we're talking about large data (several 10Kb) that we almost never need, and that should not make the app boot slower.
Constructors
- DaoString(dynamic localDatabase)
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
get(
String key) → Future< String?> -
init(
) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
put(
String key, String? value) → Future< void> -
registerAdapter(
) → void -
toString(
) → String -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited