max property

num? max
final

The maximum value allowed. If the user input a value greater than max, the value is replaced by max. If max is null, there is no upper limit.

Implementation

final num? max;