TestLinkRule<C extends Cell> class

A specialized test rule for validating cell linking operations within a Cell context.

The rule will throw an ArgumentError if the tested object is not a Cell.

Implemented types

Constructors

TestLinkRule.new({required TestSignalRuleType<C> rule, dynamic user})
Creates a TestLinkRule with the given validation function and optional user context.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

call(Object? object, {C? cell, dynamic arguments, bool exception(TestRule<dynamic, Cell> rule, Exception e) = TestRuleTrue.passed}) bool
Validates the given object against this rule.
Applies the validation rule to a specific cell link.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator +(TestRule<dynamic, Cell> other) TestObject<C>
Combines this rule with another rule to create a composite validation.
inherited
operator ==(Object other) bool
The equality operator.
inherited