asyncValidators property Null safety

List<AsyncValidatorFunction> asyncValidators

The list of async functions that determines the validity of this control.

In FormGroup these come in handy when you want to perform validation that considers the value of more than one child control.

Implementation

List<AsyncValidatorFunction> get asyncValidators =>
    List<AsyncValidatorFunction>.unmodifiable(_asyncValidators);