maximum property Null safety

num? maximum
read / write

The value of "maximum" MUST be a number, representing an upper limit for a numeric instance.

If the instance is a number, then this keyword validates if "exclusiveMaximum" is true and instance is less than the provided value, or else if the instance is less than or exactly equal to the provided value.


num? maximum;