MinLengthValidator class
- Inheritance
-
- Object
- FieldValidator<
String> - MinLengthValidator
Constructors
- MinLengthValidator(int minLength, {String? message})
-
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Convert to JSON for serialization (optional, can be implemented by subclasses).
override
-
toString(
) → String -
A string representation of this object.
inherited
-
validate(
String? value) → String? -
Validates the given
value. Returns an error message if invalid, or null if valid.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited