DependsOn<T> class Null safety

Setting the Injected models dependencies.

Constructors

DependsOn(Set<ReactiveModel> injected, {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. [...]
read-only, inherited
injected Set<ReactiveModel>
Set of Injected models to depend on.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
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 non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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