DependsOn<T> constructor

DependsOn<T>(
  1. Set<ReactiveModel> inj, {
  2. bool shouldNotify(
    1. T? previousState
    )?,
  3. int debounceDelay = 0,
  4. int throttleDelay = 0,
})

Setting the Injected models dependencies.

Implementation

DependsOn(
  Set<ReactiveModel> inj, {
  this.shouldNotify,
  this.debounceDelay = 0,
  this.throttleDelay = 0,
}) : injected = inj.cast<ReactiveModelImp>();