StringRules<Y> mixin
Several common rules that operate on strings.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
max<
U> ({required int maxLength, required U negativeFeedback}) → ValidationRule< String, dynamic> -
min<
U> ({required int minLength, required U negativeFeedback}) → ValidationRule< String, dynamic> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notEmpty<
U> ({required U negativeFeedback}) → ValidationRule< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
-
validate(
String value) → Y -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited