indexWhere method
Get the index of the first child node that matches the criterion in the
test.
An optional start index can be provided to ignore any nodes before the
index start
Implementation
int indexWhere(bool Function(IndexedNode element) test, [int start = 0]) {
return children.indexWhere(test, start);
}