ValidatorRules constructor

const ValidatorRules({
  1. bool req = false,
  2. bool noGap = false,
  3. bool phoneNumber = false,
  4. bool mailAddress = false,
  5. bool firebaseSafe = false,
  6. bool mustNumber = false,
  7. bool mustInt = false,
  8. int? maxLength,
  9. int? minLength,
  10. num? minValue,
  11. num? maxValue,
  12. bool none = false,
})

Implementation

const ValidatorRules({
  this.req = false,
  this.noGap = false,
  this.phoneNumber = false,
  this.mailAddress = false,
  this.firebaseSafe = false,
  this.mustNumber = false,
  this.mustInt = false,
  this.maxLength,
  this.minLength,
  this.minValue,
  this.maxValue,
  this.none = false,
});