Validator constructor

Validator(
  1. ValidatorType type,
  2. dynamic value, {
  3. String? errorMessage,
  4. String? customValidation(
    1. String?
    )?,
})

Implementation

Validator(this.type, this.value, {this.errorMessage, this.customValidation});