MapModification<K, V> class

An individual modification, either an insert, remove or both (see isInsert, isRemove, isReplace).

Constructors

MapModification(K key, V oldValue, V newValue)
MapModification.insert(K key, V newValue)
MapModification.remove(K key, V oldValue)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
isInsert bool
Whether this is an insert modification.
final
isRemove bool
Whether this is a remove modification.
final
isReplace bool
Whether the modification inserted and removed a value from the map for a key.
read-only
key → K
The key at which there was an insert, remove or replace.
final
newValue → V
The value inserted.
final
oldValue → V
The value removed.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

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