ValidityStateFlags constructor

ValidityStateFlags({
  1. bool? valueMissing,
  2. bool? typeMismatch,
  3. bool? patternMismatch,
  4. bool? tooLong,
  5. bool? tooShort,
  6. bool? rangeUnderflow,
  7. bool? rangeOverflow,
  8. bool? stepMismatch,
  9. bool? badInput,
  10. bool? customError,
})

Implementation

factory ValidityStateFlags(
        {bool? valueMissing,
        bool? typeMismatch,
        bool? patternMismatch,
        bool? tooLong,
        bool? tooShort,
        bool? rangeUnderflow,
        bool? rangeOverflow,
        bool? stepMismatch,
        bool? badInput,
        bool? customError}) =>
    ValidityStateFlags._(
        valueMissing: valueMissing ?? false,
        typeMismatch: typeMismatch ?? false,
        patternMismatch: patternMismatch ?? false,
        tooLong: tooLong ?? false,
        tooShort: tooShort ?? false,
        rangeUnderflow: rangeUnderflow ?? false,
        rangeOverflow: rangeOverflow ?? false,
        stepMismatch: stepMismatch ?? false,
        badInput: badInput ?? false,
        customError: customError ?? false);