ValidationError constructor

ValidationError({
  1. required Map<String, List<String>> errors,
  2. dynamic message,
  3. int code = HttpStatus.unprocessableEntity,
})

Implementation

ValidationError({
  required Map<String, List<String>> errors,
  dynamic message,
  super.code = HttpStatus.unprocessableEntity,
}) : super(errors, message: message);