deputy method

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

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

@override
Cell deputy({covariant TestObject<Cell>? test, covariant MapObject? mapObject}) {
  return _cell.deputy(test: test, mapObject: mapObject);
}