indexWhere method

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

Implementation

int indexWhere(bool test(T element), [int start = 0]) {
  return value.indexWhere(test, start);
}