forAll method Null safety

bool forAll(
  1. DescentCallback cb
)
inherited

Implementation

bool forAll(DescentCallback cb) {
  if (cb(this) == false) {
    return false;
  }
  forEachChild(cb);
  return true;
}