removeFromParent method

void removeFromParent()
inherited

Remove the component from its parent in the next tick.

Implementation

void removeFromParent() => _parent?.remove(this);