passes abstract method

bool passes(
  1. String attribute,
  2. dynamic value,
  3. Map<String, dynamic> data
)

Determine if the validation rule passes.

  • attribute The name of the field being validated (e.g., 'email')
  • value The value of the field
  • data All data being validated (useful for rules like confirmed)

Returns true if validation passes, false otherwise.

Implementation

bool passes(String attribute, dynamic value, Map<String, dynamic> data);