controls property Null safety

Map<String, AbstractControl<Object?>> controls

Gets the collection of child controls.

The key for each child is the name under which it is registered.

Implementation

Map<String, AbstractControl<Object?>> get controls =>
    Map<String, AbstractControl<Object?>>.unmodifiable(_controls);