ListChange<T> class

Stores the change related information when items was modified, added or removed from list.

The elementChanges object stores change mappings for the indexes of changed elements. The rangeChanges object stores mappings of the changed ranges to the indexes of the first elements of this ranges. These two objects cannot overlap (cannot contain the same indexes of changed elements), in most cases only one of them will be defined.

Constructors

ListChange({ObservableList<T> list, List<ElementChange> elementChanges, List<RangeChange> rangeChanges})

Properties

elementChanges List<ElementChange>
final
hashCode int
The hash code for this object. [...]
read-only, inherited
list ObservableList<T>
final
rangeChanges List<RangeChange>
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
Returns a string representation of this object.
inherited

Operators

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