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 thepredicate
function returnstrue
. If no such element is found, returns-1
.