getIndex method

int getIndex ()
inherited

returns index from this node or their parent

Implementation

int getIndex() => _index ?? parent?._index;