SaveStore class abstract
Abstract persistence layer for save data.
- Implementers
Constructors
- SaveStore()
-
Creates a store.
const
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
-
clear(
) → Future< void> - Clears the stored save data.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
read(
) → Future< String?> -
Reads the stored save, or
nullif missing. -
toString(
) → String -
A string representation of this object.
inherited
-
write(
String data) → Future< void> - Writes the raw save data.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited