ValidationMode<T> constructor

const ValidationMode<T>(
  1. Validator<T> validator, {
  2. Set<FormValidationMode> mode = const {FormValidationMode.changed, FormValidationMode.submitted, FormValidationMode.initial},
})

Implementation

const ValidationMode(this.validator,
    {this.mode = const {
      FormValidationMode.changed,
      FormValidationMode.submitted,
      FormValidationMode.initial
    }});