CollectiveValue<V>.empty constructor

CollectiveValue<V>.empty({
  1. Cell? bind,
  2. TestCollective<dynamic, Collective> test,
})

Creates an empty CollectiveValue without initial value.

Parameters:

  • bind: Cell to bind to for reactive updates
  • test: Validation rules for the value

Implementation

factory CollectiveValue.empty({
  Cell? bind,
  TestCollective test,
}) = _CollectiveValue<V>.empty;