MigrationReport class final
The entries of one or more migrations, in the order they happened.
Pass one to migrate2to3 (and the other migrations) to collect them;
document names the document the next entries belong to.
Constructors
- MigrationReport({String document = ''})
Properties
-
behaviorChanges
→ Iterable<
MigrationEntry> -
no setter
-
countsByStep
→ Map<
String, Map< MigrationEntryKind, int> > -
The number of entries per step id, for each kind.
no setter
- document ↔ String
-
The document entries are recorded against until it is changed.
getter/setter pair
-
documents
→ List<
String> -
The documents the report has seen (migrated, with or without entries).
final
-
entries
→ List<
MigrationEntry> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isEmpty → bool
-
no setter
-
rewrites
→ Iterable<
MigrationEntry> -
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
unconvertible
→ Iterable<
MigrationEntry> -
no setter
Methods
-
add(
MigrationEntry e) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Json -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJson(
Object? json) → MigrationReport