addError method

void addError(
  1. String path,
  2. String error
)

Implementation

void addError(String path, String error) {
  _errors[path] = error;
  notifyListeners();
}