forEach method Null safety

  1. @override
void forEach(
  1. void f(
    1. E element
    )
)

Invokes action on each element of this iterable in iteration order.

Implementation

@override
void forEach(void Function(E element) f) {
  _values.forEach(f);
  notifyListeners();
}