rawValue property Null safety

Map<String, Object?> rawValue

Gets the value of the FormGroup, including any disabled controls.

Retrieves all values regardless of disabled status.

Implementation

Map<String, Object?> get rawValue => _controls
    .map<String, Object?>((key, control) => MapEntry(key, control.value));