Rules class

Common rule names used for customizing error messages. You can use these with customErrors (e.g., 'email', 'username.minLength').

Constructors

Rules()

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

Constants

after → const String
before → const String
custom → const String
date → const String
email → const String
equalsTo → const String
includes → const String
ipv4 → const String
ipv6 → const String
max → const String
maxItems → const String
maxLength → const String
min → const String
minItems → const String
minLength → const String
notEmpty → const String
pattern → const String
phone → const String
required → const String
requiredIf → const String
requiredWhen → const String
type → const String
url → const String
uuid → const String