diff --git a/lib/src/json_schema/models/validation_results.dart b/lib/src/json_schema/models/validation_results.dart index cb903691..e499604f 100644 --- a/lib/src/json_schema/models/validation_results.dart +++ b/lib/src/json_schema/models/validation_results.dart @@ -40,8 +40,7 @@ import 'package:json_schema/src/json_schema/validator.dart'; /// The result of validating data against a schema class ValidationResults { - ValidationResults( - List errors, List warnings) + ValidationResults(List errors, List warnings) : errors = List.of(errors), warnings = List.of(warnings);