lastWhere method

T lastWhere(
  1. bool function(
    1. T
    )
)

Returns the last element that satisfies the given predicate function.

Implementation

T lastWhere(bool Function(T) function) => value.lastWhere(function);