ValidationMessagesFunction<T> typedef

ValidationMessagesFunction<T> = Map<String, String> Function(FormControl<T> control)

Signature of the function that returns the Map that store custom validation messages for each error.

Implementation

typedef ValidationMessagesFunction<T> = Map<String, String> Function(
    FormControl<T> control);