MinLengthValidator class

Inheritance

Constructors

MinLengthValidator(int minLength, {String? message})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
message → String?
final
minLength → int
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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