mounted property

bool get mounted

Returns true if this node is currently mounted, e.g. parent is not null.

Implementation

bool get mounted => _parent != null;