LastWhereOrDefaultExtension<T> extension
- on
-
- Iterable<
T>
- Iterable<
Methods
-
lastWhereOrDefault(
bool condition(T element), {T? defaultValue}) → T? - Returns the last element in the iterable matching a specified condition, or a default value if none is found.