call method
bool
call(
- Object? object, {
- covariant Collective<
E> ? cell, - dynamic arguments,
- bool exception() = TestRuleTrue.passed,
override
Validates an operation on the collective.
Parameters:
object
: The object being validated (either an element or action)cell
: The collective being operated onarguments
: Additional arguments for the operationexception
: Exception handler for validation failures
Returns true if the operation is allowed, false otherwise.
Implementation
@override
bool call(object, {Collective<E>? cell, arguments, bool Function(TestRule rule, Exception e) exception = TestRuleTrue.passed}) {
return true;
}