StringLength class
Annotation that indicates the field to which it is applied to has a length that ranges from minLength to maxLength
Nullable strings may be null and still pass a minimum length validation. To validate that a null string has a v
Constructors
- StringLength({int? minLength, int? maxLength})
-
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited