forEach<E> static method
Implementation
static void forEach<E>(
Iterable<Maybe<E>>? maybeIterable,
void Function(E element) f,
) {
if (maybeIterable == null) {
maybeIterable
?.where((v) => !v._isNothing)
.map((v) => v._value)
.forEach((element) {
f(element!);
});
}
}