Collective<E>.empty constructor

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

Creates an empty collective

Implementation

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