clearError method

  1. @override
void clearError(
  1. JsonPath path, {
  2. required AttributeSource source,
})
override

Removes all errors at this path

Implementation

@override
void clearError(JsonPath path, {required AttributeSource source}) {
  errors.remove(path);
  // pushes a change with the error cleared
  _changeStream
      .add(Attribute(path, get(path), source: source, clearErrors: true));
}