MigrationProgress class final
A recorded checkpoint that allows an interrupted migration to resume safely.
Constructors
- MigrationProgress(String id, String checksum, int step, MigrationStepState state, String phase, String? failure, {BackfillProgress? backfill})
-
Records a step checkpoint for reporting and recovery inspection.
const
Properties
- backfill → BackfillProgress?
-
Durable data cursor and counters for a backfill step, when present.
final
- checksum → String
-
Reviewed migration fingerprint stored with this checkpoint.
final
- failure → String?
-
Recorded ORM error code or exception type name, or null when none is stored.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Identifier of the migration containing this step.
final
- phase → String
-
Last recorded execution stage, such as scanning, verification, or recording.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → MigrationStepState
-
Last durable status of this step, distinct from whole-migration completion.
final
- step → int
-
Zero-based index in the reviewed migration's steps.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> - Structured status for CLI and application reports.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited