deputy method
CollectiveQueue<E>
deputy({
- covariant TestCollective<
dynamic, Collective> ? test, - covariant MapObject? mapObject,
override
Creates an deputy (helper) for this unmodifiable queue with optional test and map configurations.
Returns a new UnmodifiableCollectiveQueue that acts as a view of this queue with the additional test/map configurations applied.
Implementation
@override
CollectiveQueue<E> deputy({covariant TestCollective? test, covariant MapObject? mapObject}) {
return UnmodifiableCollectiveQueue.fromProperties(_properties.deputy(bind: this, test: test, mapObject: mapObject),
unmodifiableElement: _unmodifiableElement,
elements: this
);
}