FirstWhereExt<T> extension Null safety

on

Methods

firstWhereOrNull(bool test(T element)) → T?
The first element satisfying test, or null if there are none.