attached property Null safety
Whether this node is in a tree whose root is attached to something.
This becomes true during the call to attach.
This becomes false during the call to detach.
Implementation
bool get attached => _owner != null;
Whether this node is in a tree whose root is attached to something.
This becomes true during the call to attach.
This becomes false during the call to detach.
bool get attached => _owner != null;