apply method

void apply(
  1. List<E> list
)

Apply this change record to list.

Implementation

void apply(List<E> list) {
  list
    ..removeRange(index, index + removed.length)
    ..insertAll(index, object.getRange(index, index + addedCount));
}