MapDiff<K> class
abstract
The MapDiff type represents the result of comparing two rules.Map objects.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addedKeys(
) → RulesSet< K> - Returns a rules.Set, which lists any keys that the Map calling diff() contains that the Map passed to diff() does not.
-
affectedKeys(
) → RulesSet< K> - Returns a rules.Set, which lists any keys that have been added to, removed from or modified from the Map calling diff() compared to the Map passed to diff(). This function returns the set equivalent to the combined results of MapDiff.addedKeys(), MapDiff.removedKeys() and MapDiff.changedKeys().
-
changedKeys(
) → RulesSet< K> - Returns a rules.Set, which lists any keys that appear in both the Map calling diff() and the Map passed to diff(), but whose values are not equal.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removedKeys(
) → RulesSet< K> - Returns a rules.Set, which lists any keys that the Map calling diff() does not contain compared to the Map passed to diff().
-
toString(
) → String -
A string representation of this object.
inherited
-
unchangedKeys(
) → RulesSet< K> - Returns a rules.Set, which lists any keys that appear in both the Map calling diff() and the Map passed to diff(), and whose values are equal.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited