Password.pure constructor

const Password.pure({
  1. int minLength = 5,
  2. bool requireUppercase = true,
  3. bool requireLowercase = false,
  4. bool requireNumber = false,
  5. bool requireSpecialChar = true,
})

Implementation

const Password.pure({
  this.minLength = 5,
  this.requireUppercase = true,
  this.requireLowercase = false,
  this.requireNumber = false,
  this.requireSpecialChar = true,
}) : super.pure('');