FirstWhereExt<T> extension
Null safety
- on
-
- List<
T>
- List<
Methods
-
firstWhereOrNull(
bool test(T element)) → T? -
The first element satisfying
test
, ornull
if there are none.
test
, or null
if there are none.