menu
dartlin package
documentation
collections.dart
FirstOrNull extension
FirstOrNull extension
dark_mode
light_mode
FirstOrNull<
T
>
extension
on
Iterable
<
T
>
Methods
firstOrNull
(
[
bool
test
(
T
)?
])
→ T?
Returns the first element of the list or null if empty.
dartlin package
documentation
collections
FirstOrNull extension
collections library