Cell.deputy constructor
Cell.deputy({
- required Cell bind,
- TestObject<
Cell> ? test, - MapObject? mapObject,
A factory constructor that creates an Deputy cell from an existing Cell instance with reduced permissions.
Parameters:
bind
: The cell to bind totest
: Optional test object for validationmapObject
: Optional map object for transformation (Note: Eithertest
ormapObject
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;