PasswordPolicy constructor

const PasswordPolicy({
  1. int minLength = 6,
  2. int maxLength = 128,
  3. bool requireUppercase = false,
  4. bool requireLowercase = false,
  5. bool requireNumber = false,
  6. bool requireSpecialChar = false,
})

Implementation

const PasswordPolicy({
  this.minLength = 6,
  this.maxLength = 128,
  this.requireUppercase = false,
  this.requireLowercase = false,
  this.requireNumber = false,
  this.requireSpecialChar = false,
});