Row<E> class

Constructors

Row(ListDiffArguments<E> args)

Properties

args ListDiffArguments<E>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
original List<E>
no setter
replacement List<E>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
slots List<ListDiffs<E>>
Each slot is a collection of Change
getter/setter pair

Methods

combine({required ListDiffs<E> slot, ListDiff<E>? change}) ListDiffs<E>
Add one more change
lastSlot() ListDiffs<E>
/ Last slot
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reset({int? count, int? indexInOld, E? oldItem}) → void
Reset with empty slots First slot is .delete
seed(List<E> seedArray) → void
Seed with .insert from new
toString() String
A string representation of this object.
inherited
update({required int indexInNew, required Row<E> previousRow}) → void
Use .replace from previousRow
updateWithMin({required Row<E> previousRow, required int indexInNew, E? newItem, int? indexInOld, E? oldItem}) → void
Choose the min

Operators

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