removeAll method

  1. @override
void removeAll()
override

Remove all children nodes.

Implementation

@override
void removeAll() {
  while (children.isNotEmpty) {
    remove(children.last);
  }
}