mapNotNull<R> method
Implementation
Iterable<R> mapNotNull<R>(R? Function(T item) transform) sync* {
for (final item in this) {
final R? result = transform(item);
if (result != null) yield result;
}
}
Iterable<R> mapNotNull<R>(R? Function(T item) transform) sync* {
for (final item in this) {
final R? result = transform(item);
if (result != null) yield result;
}
}