MapChangeNotification<K, V> class

Change in an ObsMap.

Constructors

MapChangeNotification(K? key, K? oldKey, V? value, OperationKind op)
Returns notification with op operation.
MapChangeNotification.added(K? key, V? value)
Returns notification with OperationKind.added operation.
MapChangeNotification.removed(K? key, V? value)
Returns notification with OperationKind.removed operation.
MapChangeNotification.updated(K? key, K? oldKey, V? value)
Returns notification with OperationKind.updated operation.

Properties

hashCode int
The hash code for this object.
no setterinherited
key → K?
Key of the changed element.
final
oldKey → K?
Previous key the changed element had.
final
op OperationKind
Operation causing the element to change.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value → V?
Value of the changed element.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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