SchemaValidationResult.enumViolated constructor
Implementation
factory SchemaValidationResult.enumViolated(
    List<String> path, String value, List<String> possibleValues) {
  return SchemaValidationResult(
    key: path,
    errors: [SchemaValidationError.enumViolated(value, possibleValues)],
  );
}