clear method

void clear()

clear the Range.

Implementation

void clear() {
  for (int i = 0; i < _innerList.length; i++) {
    final Range? range = _innerList[i];
    _innerList[i] = null;

    if (range != null) {
      range.clear();
    }
  }
  _innerList.clear();
}