SagaProgressRepository class abstract interface

Persistence contract for map progression state.

Reads and writes share one interface. Splitting it into a Reader and a Writer role was considered and rejected; the reasoning is in ADR-0004 and is not repeated here.

Implementers

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

loadGlobalSeed() Future<int>
Loads global map seed used for deterministic generation.
loadProgress() Future<SagaProgress>
Loads current progression state.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
saveGlobalSeed(int seed) Future<void>
Persists the global map seed.
saveProgress(SagaProgress progress) Future<void>
Saves progression state.
toString() String
A string representation of this object.
inherited

Operators

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