Trivial improvement of AbstractNode docs. (#7399)

This confused me briefly the other day.
This commit is contained in:
Ian Hickson 2017-01-09 16:33:40 -08:00 committed by GitHub
parent cd92e11f17
commit d3faada983

View File

@ -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.