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