IsNumber constructor

IsNumber({
  1. bool isOptional = false,
  2. required dynamic value,
  3. String? propertyName,
  4. bool isNegative = false,
  5. bool isPositive = false,
  6. int? isDivisibleBy,
  7. int? max,
  8. int? min,
})

Implementation

IsNumber(
    {this.isOptional = false,
    required this.value,
    this.propertyName,
    this.isNegative = false,
    this.isPositive = false,
    this.isDivisibleBy,
    this.max,
    this.min});