controller<X> static method

ValueStreamController<X> controller<X>(
  1. String debugLabel, {
  2. X? initialValue,
  3. bool isUnique = true,
})

Implementation

static ValueStreamController<X> controller<X>(String debugLabel, {X? initialValue, bool isUnique = true}) {
  return ValueStreamController(debugLabel, initialValue: initialValue, isUnique: isUnique);
}