registerAll method

void registerAll(
  1. Map<String, AbstractControl> newControls
)

Registers multiple controls at once.

Implementation

void registerAll(Map<String, AbstractControl> newControls) {
  for (final entry in newControls.entries) {
    register(entry.key, entry.value);
  }
}