call method
Validates the given object against this rule.
Throws an ArgumentError if the object is not a Cell. Returns the result of applying the rule's validation function to the cell link.
Parameters:
Implementation
@override
bool call(Object? object, {C? cell, arguments, bool Function(TestRule rule, Exception e) exception = TestRuleTrue.passed}) {
try {
if (object is! Cell) {
throw ArgumentError.value(object, 'object', 'object not Cell');
}
return link(object, cell: cell);
} on Exception catch(e) {
return exception(this, e);
}
}