Cell.deputy constructor

Cell.deputy({
  1. required Cell bind,
  2. TestObject<Cell>? test,
  3. MapObject? mapObject,
})

A factory constructor that creates an Deputy cell from an existing Cell instance with reduced permissions.

Parameters:

  • bind: The cell to bind to
  • test: Optional test object for validation
  • mapObject: Optional map object for transformation (Note: Either test or mapObject must be provided to create a deputy cell for specific functions by providing validation rules or apply rules to individual objects)

Returns a new CellDeputy instance

Implementation

factory Cell.deputy({required Cell bind, TestObject? test, MapObject? mapObject}) = CellDeputy;