indexWhere abstract method

int indexWhere(
  1. bool test(
    1. IndexedNode element
    ), [
  2. int start = 0
])

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]);