errors property
Gets all errors of the group.
Contains all the errors of the group and the child errors.
Implementation
@override
Map<String, dynamic> get errors {
final allErrors = <String, dynamic>{};
allErrors.addAll(_errors);
_controls.forEach((name, control) {
if (control.enabled && control.hasErrors) {
allErrors[name] = control.errors;
}
});
return allErrors;
}