DefaultMessages class
Default English message templates.
Placeholders: {field} is the last key in the path, {value} is the
input value. Rules add their own, like {min} and {max}.
Old dox messages with %s also work (see MessageResolver.format).
Constructors
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
- accepted → const String
- after → const String
- afterOrEqual → const String
- alpha → const String
- alphaDash → const String
- alphaNumeric → const String
- array → const String
- before → const String
- beforeOrEqual → const String
- between → const String
- boolean → const String
- confirmed → const String
- custom → const String
- date → const String
- dateFormat → const String
- datetime → const String
- declined → const String
- different → const String
- digits → const String
- digitsBetween → const String
- dimensions → const String
- double → const String
- email → const String
- endWith → const String
- exists → const String
- file → const String
- fileExtension → const String
- filled → const String
- greaterThan → const String
- hexColor → const String
- image → const String
- includes → const String
- inList → const String
- inListShort → const String
-
The
inmessage whenValidationFlags.shortInMessageis on. - integer → const String
- ip → const String
- json → const String
- length → const String
- lengthBetween → const String
- lessThan → const String
- literal → const String
- max → const String
- maxItems → const String
- maxLength → const String
- maxSize → const String
- mimes → const String
- min → const String
- minItems → const String
- minLength → const String
- minSize → const String
- multipleOf → const String
- notAllowed → const String
- notIn → const String
- numeric → const String
- object → const String
- password → const String
- positive → const String
- present → const String
- prohibited → const String
- prohibitedIf → const String
- regex → const String
- required → const String
- requiredIf → const String
- requiredUnless → const String
- requiredWith → const String
- requiredWithout → const String
- requiredWithoutAll → const String
- rootObject → const String
-
The whole request body is not an object (the
_rootkey). - same → const String
- startWith → const String
- string → const String
- ulid → const String
- union → const String
- unique → const String
- uniqueItems → const String
- unrecognizedKeys → const String
- url → const String
- uuid → const String