You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be useful to know the number of null in an iterable. For now, I'm creating my own.
extensiononIterable {
int nullsCount =>where((element) => element ==null).length;
}
The text was updated successfully, but these errors were encountered:
ValentinVignal
changed the title
Add a whereNull() or a countNulls to iterable extension
Add a whereNull() or a nullsCount to iterable extension
Mar 12, 2024
It would be useful to know the number of
null
in an iterable. For now, I'm creating my own.The text was updated successfully, but these errors were encountered: