SchemaTableDifference class

The difference between two SchemaTables.

This class is used for comparing schemas for validation and migration.

Constructors

SchemaTableDifference(SchemaTable? expectedTable, SchemaTable? actualTable)
Creates a new instance that represents the difference between expectedTable and actualTable.

Properties

actualTable SchemaTable?
The actual table.
final
columnDifferences List<SchemaColumnDifference>
no setter
columnsToAdd List<SchemaColumn?>
no setter
columnsToModify List<SchemaColumnDifference>
no setter
columnsToRemove List<SchemaColumn?>
no setter
errorMessages List<String>
Human-readable list of differences between expectedTable and actualTable.
no setter
expectedTable SchemaTable?
The expected table.
final
hasDifferences bool
Whether or not expectedTable and actualTable are the same.
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
uniqueSetDifference SchemaTableUniqueSetDifference?
The difference between SchemaTable.uniqueColumnSets.
getter/setter pair

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