Saver<K> class abstract

Loads and saves a value of an input widget.

Implementers

Constructors

Saver()

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

load<T>(K itemKey) Future<T?>
Loads the value of a data item from the storage.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
save<T>(K itemKey, T? value) Future<OperationResult>
Saves a value to the storage by itemKey.
toString() String
A string representation of this object.
inherited
validate<T>(K itemKey, T? value) OperationResult
Validates whether value is allowed to be stored for itemKey. Disallowed values will not be passed to save.

Operators

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