setRemoved method
- @internal
Used by the FlameGame
to set the removed state of the component, since
the game isn't going through the whole normal component life cycle.
Implementation
@internal
void setRemoved() {
_setRemovedBit();
_removeCompleter?.complete();
_removeCompleter = null;
}