fieldsError method

  1. @override
Iterable<String> fieldsError(
  1. Iterable<K> fields
)
override

Sync access to the validation error message if there is any.

Returns Iterable with errors among multiple fields. Will return empty collection if no error messages found

Implementation

@override
Iterable<String> fieldsError(Iterable<K> fields) =>
    filterErrors(fields, errors);