replaceWith method

void replaceWith(
  1. Iterable<T> replacement
)

Implementation

void replaceWith(Iterable<T> replacement) {
  _list.clear();
  _list.addAll(replacement);
  notify();
}