ValidationRules class

Predefined sets of ValidationRules for common validation scenarios.

Includes rules for validating emails, passwords, usernames, and OTP codes.

Constructors

ValidationRules()

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

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

Static Properties

email List<ValidationRule>
Validation rules for email fields.
final
otp List<ValidationRule>
Validation rules for OTP (One-Time Password) fields.
final
password List<ValidationRule>
Validation rules for password fields.
final
username List<ValidationRule>
Validation rules for username fields.
final