errorList property

Iterable<FormsFieldException> get errorList

Implementation

Iterable<FormsFieldException> get errorList =>
    validatorList.fold<List<FormsFieldException>>([], (list, validator) {
      final exception = validator.exception;
      if (exception == null) return list;
      return list..add(exception);
    });