CollectionChangeEvent<K, V> class
An event containing a single change made to a StreamCollection, returned
by a collection's change listeners and onChange
parameter.
Constructors
- CollectionChangeEvent(CollectionEventType type, K? key, V? value)
-
An event containing a single change made to a StreamCollection.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → K?
-
The key or index of the affected element.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → CollectionEventType
-
The type of change made to the collection: addition, removal, or update.
final
- value → V?
-
The value of the affected 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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited