parent property

ContainerLayer? parent

This layer's parent in the layer tree.

The parent of the root node in the layer tree is null.

Only subclasses of ContainerLayer can have children in the layer tree. All other layer classes are used for leaves in the layer tree.

Implementation

ContainerLayer? get parent => _parent;