interval<T> static method
Interval<T>
interval<T>({
- Duration duration = const Duration(seconds: 0),
- required StreamPredicate<
Lifecycle< after,T> > - required T emit,
- required StreamCondition stopWhen,
Implementation
static Interval<T> interval<T>(
{Duration duration = const Duration(seconds: 0),
required StreamPredicate<Lifecycle<T>> after,
required T emit,
required StreamCondition stopWhen}) =>
Interval(duration, after: after, emit: emit, stopWhen: stopWhen);