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({required ObservableList<T> list, List<ElementChange<T>>? elementChanges, List<RangeChange<T>>? rangeChanges})

Properties

elementChanges List<ElementChange<T>>?
final
hashCode int
The hash code for this object.
no setterinherited
list ObservableList<T>
final
rangeChanges List<RangeChange<T>>?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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