RefetchIntervalDynamic class final Option values
The RefetchInterval.dynamic variant: the interval is computed from the
query each time the timer is re-armed, and null stops polling.
- Inheritance
-
- Object
- RefetchInterval
- RefetchIntervalDynamic
Constructors
-
RefetchIntervalDynamic(Duration? compute(Query<
Object?> query)) -
Computes the interval with
compute; prefer spelling itRefetchInterval.dynamic(…).const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolve(
Query< Object?> query) → Duration? -
The interval to poll
queryat;nullmeans "do not poll".inherited -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override