ListChangeRecord<E>.remove constructor

ListChangeRecord<E>.remove(
  1. List<E> object,
  2. int index,
  3. List<E> removed
)

Records a remove operation at object[index] of removed elements.

Implementation

ListChangeRecord.remove(this.object, this.index, List<E> removed)
    : removed = freezeInDevMode<E>(removed),
      addedCount = 0 {
  _assertValidState();
}