applyToFamily method

void applyToFamily(
  1. Mobject func(
    1. Mobject
    ), {
  2. bool useFamilyWithPoints = true,
})

Implementation

void applyToFamily(Mobject Function(Mobject) func,
    {bool useFamilyWithPoints = true}) {
  for (var mob in useFamilyWithPoints ? getFamilyWithPoints() : getFamily()) {
    func(mob);
  }
}