clear method

void clear()

Implementation

void clear() {
  _items.clear();
  for (var element in _children) {
    element.clear();
  }
  _children.clear();
}