call method

  1. @override
bool call(
  1. Object? object, {
  2. covariant Collective<E>? cell,
  3. dynamic arguments,
  4. bool exception(
    1. TestRule<dynamic, Cell> rule,
    2. Exception e
    ) = 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 on
  • arguments: Additional arguments for the operation
  • exception: 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;
}