deputy method
CollectiveValue<V>
deputy({
- covariant TestCollective<
dynamic, Collective> ? test, - covariant MapObject? mapObject,
override
Creates a new deputy for this unmodifiable value.
Note: While the deputy can be created, modification operations will still fail.
Parameters:
test
: Additional validation rules- map: Value transformations
Implementation
@override
CollectiveValue<V> deputy({covariant TestCollective? test, covariant MapObject? mapObject}) {
return UnmodifiableCollectiveValue.fromProperties(
_properties.deputy(bind: this, test: test, mapObject: mapObject),
unmodifiableElement: _unmodifiableElement
);
}