CollectiveSet<E> constructor
CollectiveSet<E> (
- Iterable<
E> elements, { - Cell? bind,
- TestCollective<
dynamic, Collective> test, - bool identitySet,
Creates a CollectiveSet with initial elements.
Parameters:
- elements: Initial elements to populate the set
- bind: Optional parent Cell to link with
- test: Validation rules (defaults to always passing)
- identitySet: If true, uses identity comparison (default: false)
Implementation
factory CollectiveSet(Iterable<E> elements, {
Cell? bind,
TestCollective test,
bool identitySet
}) = _CollectiveSet<E>;