NumberValidationConfig.positiveInteger constructor
Preset for positive integers.
Implementation
factory NumberValidationConfig.positiveInteger({num? min, num? max}) {
return NumberValidationConfig(
min: min,
max: max,
allowNegative: false,
integerOnly: true,
);
}