deputy method
CollectiveSet<E>
deputy({
- covariant TestCollective<
dynamic, Collective> ? test, - covariant MapObject? mapObject,
override
Creates an unmodifiable deputy for this set.
Note: While the deputy can be created, modification operations will still throw.
Implementation
@override
CollectiveSet<E> deputy({covariant TestCollective? test, covariant MapObject? mapObject}) {
return UnmodifiableCollectiveSet.fromProperties(_properties.deputy(bind: this, test: test, mapObject: mapObject),
unmodifiableElement: _unmodifiableElement,
elements: this
);
}