FormRuleEndsWith class
Constructors
- FormRuleEndsWith(String suffix, [String? message])
Properties
- data ↔ dynamic
-
Optional data associated with this rule.
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- message ↔ String?
-
The error message to display when validation fails.
Use
{{attribute}}as a placeholder for the field name.getter/setter pairoverride - rule ↔ String?
-
The rule identifier (e.g., "email", "min_length", "required").
getter/setter pairoverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- suffix → String
-
final
Methods
-
getMessage(
[String? attribute]) → String? -
Returns the formatted error message for this rule.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
validate(
dynamic data) → bool -
Validates the provided
dataagainst this rule.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited