FormMessage class
A class representing messages for different types of form validations.
Constructors
-
FormMessage({Map<
String, dynamic> ? required, Map<String, dynamic> ? min, Map<String, dynamic> ? max, Map<String, dynamic> ? email}) - Constructs a FormMessage.
Properties
-
email
→ Map<
String, dynamic> ? -
Messages for email format validation.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
max
→ Map<
String, dynamic> ? -
Messages for maximum value validation.
final
-
min
→ Map<
String, dynamic> ? -
Messages for minimum value validation.
final
-
required
→ Map<
String, dynamic> ? -
Messages for required field validation.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
get(
String type, String key) → String? - Retrieves a message based on the type of validation and the key.
-
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