remove method
Removes this layer from its parent layer's child list.
This has no effect if the layer's parent is already null.
Implementation
@mustCallSuper
void remove() {
assert(!_debugMutationsLocked);
parent?._removeChild(this);
}
Removes this layer from its parent layer's child list.
This has no effect if the layer's parent is already null.
@mustCallSuper
void remove() {
assert(!_debugMutationsLocked);
parent?._removeChild(this);
}