call method
bool
call(})
override
Executes the rule validation against an object in a cell context.
Parameters:
object: The object to validatecell: Optional cell context for the validationarguments: Additional arguments needed for validationexception: Exception handler callback when validation fails
Returns true if validation passes, false otherwise.
Implementations should:
- Validate the object against the rule's criteria
- Use the exception handler for any validation errors
- Return the validation result
Implementation
@override
bool call(object, {Cell? cell, arguments, bool Function(TestRule<dynamic, Cell> rule, Exception e) exception = TestRuleTrue.passed}) => true;