addRangeToTop method

void addRangeToTop(
  1. List<T> items
)

Adds a range of items to the top of the list.

Implementation

void addRangeToTop(List<T> items) {
  _oldItems.addAll(items);
  _lastAddedToBottom = false;
  notifyListeners();
}