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> ({
- required Cell bind,
- TestObject<
Cell> ? test, - 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:
- Apply its own validation/mapping first
- Delegate to the bound open cell
- Preserve all open cell functionality
Implementation
OpenCellDeputy({required super.bind, super.test, super.mapObject}) : super();