ValidationError constructor

ValidationError({
  1. List<LocationInner> loc = const [],
  2. required String msg,
  3. required String type,
  4. Object? input,
  5. Object? ctx,
})

Returns a new ValidationError instance.

Implementation

ValidationError({
  this.loc = const [],
  required this.msg,
  required this.type,
  this.input,
  this.ctx,
});