SchemaTableDifference class Null safety

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>
read-only
columnsToAdd List<SchemaColumn?>
read-only
columnsToModify List<SchemaColumnDifference>
read-only
columnsToRemove List<SchemaColumn?>
read-only
errorMessages List<String>
Human-readable list of differences between expectedTable and actualTable.
read-only
expectedTable SchemaTable?
The expected table. [...]
final
hasDifferences bool
Whether or not expectedTable and actualTable are the same.
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
uniqueSetDifference SchemaTableUniqueSetDifference?
The difference between SchemaTable.uniqueColumnSets. [...]
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited