link method

bool link(
  1. Cell link, {
  2. C? cell,
})

Applies the validation rule to a specific cell link.

Parameters:

  • link: The cell to validate for linking/unlinking
  • cell: Optional Cell context for the validation (typically the host cell)

Implementation

bool link(Cell link, {C? cell}) {
  final Function func = _input is TypeObject<Function> ? _input.obj : _input();
  return func(link, cell: cell, user: _user);
}