EmailValidationOptions constructor

EmailValidationOptions({
  1. bool checkFormat = true,
  2. bool preventConsecutiveDots = true,
  3. bool preventMultipleAtSymbols = true,
  4. bool checkCommonMistakes = true,
  5. bool preventDisposableEmails = true,
  6. bool checkEndsWithDot = true,
  7. int minLength = 5,
})

Constructor to set default validation options

Implementation

EmailValidationOptions({
  this.checkFormat = true,
  this.preventConsecutiveDots = true,
  this.preventMultipleAtSymbols = true,
  this.checkCommonMistakes = true,
  this.preventDisposableEmails = true,
  this.checkEndsWithDot = true,
  this.minLength = 5,
});