FirstOrNull<T> extension
- on
-
- Iterable<
T>
- Iterable<
Methods
-
firstOrNull(
[bool test(T)?]) → T? -
Available on Iterable<
Returns the first element of the list or null if empty.T> , provided by the FirstOrNull extension