StringLengthValidationError constructor

const StringLengthValidationError(
  1. String fieldName, {
  2. required int length,
  3. int? minLength,
  4. int? maxLength,
})

Implementation

const StringLengthValidationError(
  super.fieldName, {
  required this.length,
  this.minLength,
  this.maxLength,
});