addFieldError method

  1. @override
void addFieldError(
  1. K field,
  2. String error
)
override

Add error message for some particular field

Implementation

@override
void addFieldError(K field, String error) => addErrors({
      ...errors,
      field: error,
    });