ValidationError constructor

const ValidationError({
  1. required String rule,
  2. required String message,
  3. Map<String, dynamic>? details,
  4. List<String>? path,
})

Implementation

const ValidationError({
  required this.rule,
  required this.message,
  this.details,
  this.path,
});