mounted property

bool mounted

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

Implementation

bool get mounted => _parent != null;