interval property
The capture interval when this is an WidgetUpdatePolicy.interval policy, or null for the other policies.
Implementation
Duration? get interval => switch (this) {
_IntervalUpdatePolicy(:final duration) => duration,
_ => null,
};
The capture interval when this is an WidgetUpdatePolicy.interval policy, or null for the other policies.
Duration? get interval => switch (this) {
_IntervalUpdatePolicy(:final duration) => duration,
_ => null,
};