SimplePersistence<T> class
Simple string persistence for primitive types.
- Inheritance
-
- Object
- SignalPersistence<
T> - SimplePersistence
Constructors
Properties
- fromString → T Function(String value)
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → String
-
final
-
read
→ Future<
String?> Function(String key) -
final
-
remove
→ Future<
void> Function(String key) -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- toStringValue → String Function(T value)
-
final
-
write
→ Future<
void> Function(String key, String value) -
final
Methods
-
delete(
) → Future< void> -
override
-
load(
) → Future< T?> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
save(
T value) → Future< void> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited