Commit d3faada9 authored by Ian Hickson's avatar Ian Hickson Committed by GitHub

Trivial improvement of AbstractNode docs. (#7399)

This confused me briefly the other day.
parent cd92e11f
......@@ -69,6 +69,10 @@ class AbstractNode {
Object _owner;
/// 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;
/// Mark this node as attached to the given owner.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment