insertAll method

void insertAll(
  1. int index,
  2. List<T> items
)

Implementation

void insertAll(int index, List<T> items) {
  for (final item in items) {
    insert(index, item);
  }
}