indexInParent property
int
indexInParent
Returns the index position of this node in the parent.
Implementation
int get indexInParent {
if (parent == null) return -1;
return parent!.indexOfNode(this);
}
Returns the index position of this node in the parent.
int get indexInParent {
if (parent == null) return -1;
return parent!.indexOfNode(this);
}