RequiredIf class
- Inheritance
-
- Object
- ValidationRule
- RequiredIf
Constructors
- RequiredIf({required String payload, String? message})
Properties
- errorMessage → String
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String?
-
finalinherited
- payload → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getDefaultErrorMessage(
String field) → String -
override
-
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 value, Map< String, dynamic> data) → bool -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited