SaveMigrationRegistry class

Immutable, validated multi-hop save migration registry.

Constructors

SaveMigrationRegistry({required int currentVersion, required List<SaveMigrationStep> steps})

Properties

currentVersion → int
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
steps → List<SaveMigrationStep>
final

Methods

migrate(int fromVersion, Map<String, Object?> input) → Map<String, Object?>
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