MultipleOfRule constructor
- num divisor
Creates a rule that requires values to be a multiple of divisor.
divisor must be strictly greater than zero per the JSON Schema spec.
A divisor of zero acts as a schema-error guard: validation always fails
for any numeric value (spec ยง6.2.1 disallows zero divisors).
Implementation
const MultipleOfRule(this.divisor);