MapDiffer<K, V> class
Null safety
Determines differences between two maps, returning MapChangeRecords.
While MapChangeRecord has more information and can be replayed they carry a more significant cost to calculate and create and should only be used when the details in the record will actually be used.
See also EqualityDiffer for a simpler comparison.
Constructors
- MapDiffer()
-
const
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
diff(
Map< K, V> oldValue, Map<K, V> newValue) → List<MapChangeRecord< K, V> > -
Returns a list of change records between
oldValue
andnewValue
.override -
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