CollectionEvent<K, V> class
An event containing changes made to a StreamCollection, returned
by a collection's event listeners and onEvent
parameter.
Constructors
-
CollectionEvent(CollectionEventType type, Map<
K?, V?> elements) -
An event containing changes made to a StreamCollection.
const
Properties
-
elements
→ Map<
K?, V?> -
The elements that were affected by the event.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
keys
→ List<
K?> -
Returns the keys/indexes of the elements affected by the event as a list.
no setter
- 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
-
values
→ List<
V?> -
Returns the values of the elements affected by the event as a list.
no setter
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