class ListChangeRecord


A summary of an individual change to a List.

Each delta represents that at the index, removed sequence of items were removed, and counting forward from index, addedCount items were added.

Inheritance

Constructors

ListChangeRecord(List object, int index, {List removed, int addedCount})

factory

Properties

addedCount → int

The number of items added.

read-only
hashCode → int

Get a hash code for this object.

read-only, inherited
index → int

The index of the change.

read-only
object → List

The list that changed.

read-only
removed → List

The items removed, if any. Otherwise this will be an empty list.

read-only
runtimeType → Type

A representation of the runtime type of the object.

read-only, inherited

Operators

operator ==(other) → bool

The equality operator.

inherited

Methods

indexChanged(key) → bool

Returns true if the provided index was changed by this operation.

noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.

inherited
toString() → String

Returns a string representation of this object.