EasyValidatorMessages class
A class that provides messages for the EasyValidator library.
This class follows the singleton design pattern, ensuring that only one instance of EasyValidatorMessages is created throughout the application.
Properties
- contains ↔ String
-
A message template indicating that a field must contain a specific value.
The placeholder {0} can be used to indicate the expected value.
getter/setter pair
- containsNumbers ↔ String
-
A message indicating that a field must contain numbers.
getter/setter pair
- email ↔ String
-
The error message displayed when an invalid email address is entered.
getter/setter pair
- endWith ↔ String
-
A message indicating that a field must end with a specific value.
getter/setter pair
- equalLength ↔ String
-
A message indicating that a field must be exactly a specified length.
getter/setter pair
- equalTo ↔ String
-
A message template indicating that a field must be equal to a specified value.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxLength ↔ String
-
A message template indicating that a field must be at most a certain number of characters long.
The placeholder {0} is used to indicate where the maximum length value should be inserted.
getter/setter pair
- maxWordCount ↔ String
-
A message template indicating that a field must have at most a specified number of words.
The placeholder {0} is used to indicate where the maximum word count should be inserted.
getter/setter pair
- minLength ↔ String
-
A message template indicating that a field must be at least a certain number of characters long.
The placeholder {0} is used to indicate the minimum length value.
getter/setter pair
- minWordCount ↔ String
-
A message template indicating that a field must have at least a specified number of words.
The placeholder {0} is used to represent the minimum word count.
getter/setter pair
- notContains ↔ String
-
A message indicating that a field must not contain a specific value.
The {0} placeholder is used to indicate the specific value that the field must not contain.
getter/setter pair
- notEndWith ↔ String
-
A message indicating that a field must not end with a specific value.
getter/setter pair
- notEqualLength ↔ String
-
A message indicating that a field must not be exactly a specified length.
The {0} placeholder is used to indicate the specific length that the field must not be.
getter/setter pair
- notEqualTo ↔ String
-
A message indicating that a field must not be equal to a specific value.
getter/setter pair
- notStartWith ↔ String
-
A message indicating that a field must not start with a specific value.
getter/setter pair
- regex ↔ String
-
A string representing the error message for an invalid field.
getter/setter pair
- required ↔ String
-
A message indicating that a field is required.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startWith ↔ String
-
A message indicating that a field must start with a specific value.
getter/setter pair
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
- instance → EasyValidatorMessages
-
no setter