FancyCollectionEvent class
Describes a change that happened in a FancyList or FancyMap.
An event is delivered to listeners after the collection has been
modified. Because the same class serves both lists and maps, some fields
only apply to one kind of collection and are null otherwise.
Constructors
Properties
- attributePath → String
-
Path of the changed entry, relative to the collection whose listener
receives the event.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- index ↔ int?
-
The index of the changed element. Only set for FancyList events.
getter/setter pair
- key ↔ dynamic
-
The key of the changed entry. Only set for FancyMap events.
getter/setter pair
- oldValue ↔ dynamic
-
The previous value of the entry. Set for updates and for removals of a
single entry.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type ↔ FancyCollectionEventType?
-
The kind of change that happened.
getter/setter pair
- value ↔ dynamic
-
The new value of the entry, as stored in the collection (nested maps
and lists may have been converted to FancyMap / FancyList).
getter/setter pair
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