ConstraintValidatorContext constructor

ConstraintValidatorContext({
  1. required Valid parent,
  2. List<ConstrainViolation>? constrainViolations,
  3. bool concatParentName = true,
})

Implementation

ConstraintValidatorContext({
  required this.parent,
  List<ConstrainViolation>? constrainViolations,
  this.concatParentName = true,
})  : constrainViolations = constrainViolations ?? [],
      templateViolations = [];