OpenCellDeputy<C extends Cell, L extends Cell, I extends Signal, O extends Signal> constructor

OpenCellDeputy<C extends Cell, L extends Cell, I extends Signal, O extends Signal>({
  1. required Cell bind,
  2. TestObject<Cell>? test,
  3. MapObject? mapObject,
})

Creates an deputy for an OpenCell with additional behavior layers or reduced accesses to bind cell.

Parameters:

  • bind: The open cell to wrap (required)
  • test: Additional validation rules (optional)
  • mapObject: Value transformations (optional)

The deputy will:

  1. Apply its own validation/mapping first
  2. Delegate to the bound open cell
  3. Preserve all open cell functionality

Implementation

OpenCellDeputy({required super.bind, super.test, super.mapObject}) : super();