LengthRange class
Constructors
-
LengthRange({int? min, int? max, bool inclusive = true})
-
Validator that checks if the length falls within a specified range.
Either
min, max, or both must be provided.
const
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
inclusive
→ bool
-
Whether the range is inclusive (default: true).
final
-
max
→ int?
-
(optional) The maximum length to check against.
final
-
min
→ int?
-
(optional) The minimum length to check against.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited