ListChangeRecord<E>.replace constructor
Records a replace
operation at object[index]
of removed
elements.
If addedCount
is not specified it defaults to removed.length
.
Implementation
ListChangeRecord.replace(this.object, this.index, List<E> removed,
[int? addedCount])
: removed = freezeInDevMode<E>(removed),
addedCount = addedCount ?? removed.length {
_assertValidState();
}