DependsOn<T> class

Setting the Injected models dependencies.

Constructors

DependsOn(Set<ReactiveModel> inj, {bool shouldNotify(T? previousState)?, int debounceDelay = 0, int throttleDelay = 0})
Setting the Injected models dependencies.

Properties

debounceDelay int
time in seconds to debounce the recalculation of the state of the dependent injected model.
final
hashCode int
The hash code for this object.
no setterinherited
injected Set<ReactiveModelImp>
Set of Injected models to depend on.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shouldNotify → (bool Function(T? previousState)?)
Callback to determine when to notify and recall the creation function of the dependent Injected models.
final
throttleDelay int
time in seconds to throttle the recalculation of the state of the dependent injected model.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited