findIndex Returns the index of the first element predicate returns truthy for. @param predicate the function to determine equality
predicate
int findIndex(Function predicate) => array.findIndex(this, predicate);