interval property
Duration?
get
interval
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,
};