max property

num? max
final

The maximum allowed value. Any character making the number exceed max is blocked immediately.

Implementation

final num? max;