Collective<E> constructor

Collective<E>(
  1. Iterable<E> elements, {
  2. Cell? bind,
  3. TestCollective<dynamic, Collective> test = TestCollective.passed,
})

Creates a collective from elements

Implementation

factory Collective(Iterable<E> elements, {
  Cell? bind,
  TestCollective test = TestCollective.passed,
}) {
  return _Collective<E>(CollectiveCellProperties<E,Iterable<E>>(
      bind: bind,
      container: ContainerType.iterable,
      test: test,
  ), elements: elements);
}