deputy method
CollectiveList<E>
deputy({
- covariant TestCollective<
dynamic, Collective> ? test, - covariant MapObject? mapObject,
override
Creates an deputy for this unmodifiable list.
Note: The deputy will still enforce unmodifiability of the underlying list.
Parameters:
- test: Additional test rules
- map: Value mapping configuration
Implementation
@override
CollectiveList<E> deputy({covariant TestCollective? test, covariant MapObject? mapObject}) {
return UnmodifiableCollectiveList.fromProperties(_properties.deputy(bind: this, test: test, mapObject: mapObject),
unmodifiableElement: _unmodifiableElement,
elements: this
);
}