replaceWith method

void replaceWith(
  1. Iterable<E> iterable
)

Implementation

void replaceWith(Iterable<E> iterable) {
  clear();
  addAll(iterable);
}