deputy method
CollectiveSet<E>
deputy({
- covariant TestCollective<
dynamic, Collective> ? test, - covariant MapObject? mapObject,
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: EithertestormapObjectmust be provided to create a deputy cell for specific function by applying validation rules)
Returns a new CellDeputy instance
Implementation
@override
CollectiveSet<E> deputy({covariant TestCollective? test, covariant MapObject? mapObject}) {
return CollectiveSetDeputy<E>._(_properties.bind as CollectiveSet<E>, test: test, mapObject: mapObject);
}