EffectCommandProbe<A extends Object, E extends Object> constructor

EffectCommandProbe<A extends Object, E extends Object>(
  1. ValueListenable<EffectCommandState<A, E>> command, {
  2. bool includeInitial = true,
})

Implementation

EffectCommandProbe(this.command, {bool includeInitial = true}) {
  if (includeInitial) {
    _record(command.value);
  }
  command.addListener(_handleChange);
}