isFirstChild property
bool
get
isFirstChild
Returns true if this node is the first child of its parent
Implementation
bool get isFirstChild {
final parent = this.parent;
if (parent == null) return false;
return parent.children.firstOrNull == this;
}