forEach method Null safety

void forEach(
  1. void f(
    1. Interval element
    )
)

Implementation

void forEach(void Function(Interval element) f) {
  this._intervals.forEach(f);
}