Password.dirty constructor

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

Implementation

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