SnapshotStorage class abstract

Storage interface for persisting snapshots.

This abstract class defines the contract for snapshot storage backends. Implementations can provide file-based storage, shared preferences, or any other persistence mechanism.

Implementers

Constructors

SnapshotStorage()

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 all snapshots from storage.
delete(String key) Future<bool>
Deletes a snapshot from storage.
listKeys() Future<List<String>>
Lists all available snapshot keys.
load([String? key]) Future<Snapshot?>
Loads a snapshot from storage.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
save(Snapshot snapshot, [String? key]) Future<void>
Saves a snapshot to storage.
toString() String
A string representation of this object.
inherited

Operators

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