SpecificRestriction constructor
- RestrictionType type,
- IntegerRange value
Creates a new instance.
typeType of restriction.valueValues for which the restriction applies. Examples:(min, max)→ Restriction applies for all values between min and max inclusive.(n, n)→ Restriction applies to an exact value.(n, 0)or(n, null)→ Restriction applies for values greater than or equal to min (unbounded upper limit).
Implementation
SpecificRestriction(this.type, this.value);