remove method

  1. @mustCallSuper
void remove ()

Removes this layer from its parent layer's child list.

Implementation

@mustCallSuper
void remove() {
  parent?._removeChild(this);
}