SchemaValidationResult.unallowedAdditionalProperty constructor

SchemaValidationResult.unallowedAdditionalProperty(
  1. List<String> path,
  2. String property
)

Implementation

factory SchemaValidationResult.unallowedAdditionalProperty(
    List<String> path, String property) {
  return SchemaValidationResult(
    key: path,
    errors: [SchemaValidationError.unallowedAdditionalProperty(property)],
  );
}