clear method

  1. @override
void clear()
override

Marks all existing components to be removed from the components list on the next game tick.

Implementation

@override
void clear() {
  _removeLater.addAll(this);
}