where_not_null 1.0.0 copy "where_not_null: ^1.0.0" to clipboard
where_not_null: ^1.0.0 copied to clipboard

outdated

A single extension on Iterable<T?> to convert it to Iterable<T>

example/where_not_null_example.dart

import 'package:where_not_null/where_not_null.dart';

void main() {
  print(<int?>[1, 2, null, 4, null].whereNotNull().reduce((a, b) => a + b));
}
0
likes
0
points
8
downloads

Publisher

verified publisherampless.chrissx.de

Weekly Downloads

A single extension on Iterable<T?> to convert it to Iterable<T>

Repository (GitHub)
View/report issues

License

unknown (license)

More

Packages that depend on where_not_null