deputy abstract method

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

Creates an Deputy cell from an existing Cell instance with reduced permissions.

Parameters:

  • 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 function by applying validation rules)

Returns a new CellDeputy instance

Implementation

Cell deputy({covariant TestObject? test, covariant MapObject? mapObject});