LoLengthValidator class

Implemented types

Constructors

LoLengthValidator(int? min, int? max, [String? message])
LoLengthValidator.exact(int length, [String? message])
LoLengthValidator.max(int? max, [String? message])
LoLengthValidator.min(int? min, [String? message])

Properties

hashCode int
The hash code for this object.
no setterinherited
max int?
String's length must be less than or equal max.
final
message String
final
min int?
String's length must be more than or equal min.
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
toString() String
A string representation of this object.
inherited
validate(String? value) String?
Returns String containing the error message if value is invalid. or null when value is valid.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited