MigrationStatus class final

Status of migrations for both data and user storage.

Constructors

MigrationStatus({String? dataCurrentVersion, String? dataTargetVersion, required bool dataNeedsMigration, String? userCurrentVersion, String? userTargetVersion, required bool userNeedsMigration})
Creates a migration status.
const

Properties

dataCurrentVersion → String?
Current data schema version.
final
dataNeedsMigration → bool
Whether data migration is needed.
final
dataTargetVersion → String?
Target data schema version.
final
hashCode → int
The hash code for this object.
no setterinherited
needsMigration → bool
Whether any migration is needed.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
userCurrentVersion → String?
Current user schema version.
final
userNeedsMigration → bool
Whether user migration is needed.
final
userTargetVersion → String?
Target user schema version.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

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