deputy method
OpenCell<C, L, I, O>
deputy({
- covariant TestObject<
Cell> ? test, - covariant MapObject? mapObject,
override
Creates an Deputy cell from an existing Cell instance with reduced permissions.
Parameters:
test
: Optional test object for validationmapObject
: Optional map object for transformation (Note: Eithertest
ormapObject
must be provided to create a deputy cell for specific function by applying validation rules)
Returns a new CellDeputy instance
Implementation
@override
OpenCell<C,L,I,O> deputy({covariant TestObject? test, covariant MapObject? mapObject}) {
return OpenCellDeputy<C,L,I,O>(bind: this, test: test, mapObject: mapObject);
}