passes abstract method
Determine if the validation rule passes.
attributeThe name of the field being validated (e.g., 'email')valueThe value of the fielddataAll data being validated (useful for rules likeconfirmed)
Returns true if validation passes, false otherwise.
Implementation
bool passes(String attribute, dynamic value, Map<String, dynamic> data);