MigrationPlan class

Resolves and validates the chain of Migrations needed to move a store from one schema version to another, before any data is touched.

Constructors

MigrationPlan.resolve(List<Migration> migrations, {required int fromVersion, required int toVersion})
Builds the ordered chain from fromVersion to toVersion out of migrations.
factory

Properties

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<Migration>
The ordered migrations to execute. Empty when already at the target.
final

Methods

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