FirstWhereOrDefaultExtension<T> extension
- on
-
- Iterable<
T>
- Iterable<
Methods
-
firstWhereOrDefault(
bool condition(T value), {T? defaultValue}) → T? -
Available on Iterable<
Returns the first element in the iterable matching a specified condition, or a default value if none is found.T> , provided by the FirstWhereOrDefaultExtension extension