MigrationVersionDefinition class

A representation migration version definitions. Used to compare and generate migrations.

Constructors

MigrationVersionDefinition({required String version, required DatabaseDefinition definition, required DatabaseDefinition projectDefinition, required DatabaseMigration migration})
Creates a new migration version artifacts.
const

Properties

definition DatabaseDefinition
The full database definition for this version.
final
hashCode int
The hash code for this object.
no setterinherited
migration DatabaseMigration
The migration definition for this version.
final
moduleName String
The module name associated with the migration.
no setter
projectDefinition DatabaseDefinition
The project-only database definition for this version.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
version String
The version name of the migration.
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