SchemaColumnDifference class

The difference between two compared SchemaColumns.

This class is used for comparing database columns for validation and migration.

Constructors

SchemaColumnDifference(SchemaColumn? expectedColumn, SchemaColumn? actualColumn)
Creates a new instance that represents the difference between expectedColumn and actualColumn.

Properties

actualColumn → SchemaColumn?
The actual column.
final
errorMessages → List<String>
Human-readable list of differences between expectedColumn and actualColumn.
no setter
expectedColumn → SchemaColumn?
The expected column.
final
hasDifferences → bool
Whether or not expectedColumn and actualColumn are different.
no setter
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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