array/find_last_index library

Functions

findLastIndex(List array, [bool predicate(dynamic)?, int fromIndex = -1]) int
Returns the index of the last element in the array for which the predicate function returns true. If no such element is found, returns -1.