Memento class
A memento represents a storage utility. It can store and retrieve values.
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
- @anonymous
Constructors
-
Memento.new({List<
String> keys()?, Future update(String, [dynamic])?}) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
keys
↔ List<
String> Function() -
Available on Memento, provided by the Memento$Typings extension
getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- update ↔ Future Function(String, [dynamic])
-
Available on Memento, provided by the Memento$Typings extension
getter/setter pair
Methods
-
get<
T> (String key, T defaultValue) → T -
Available on Memento, provided by the Memento$Typings extension
Return a value. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited