ValidationError constructor

ValidationError({
  1. List<String> loc = const [],
  2. required String msg,
  3. required String type,
})

Returns a new ValidationError instance.

Implementation

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