stop<T> static method

Emission<Lifecycle<T>> stop<T>({
  1. Duration duration = const Duration(seconds: 0),
  2. required StreamPredicate<Lifecycle<T>> after,
  3. required T emit,
})

Implementation

static Emission<Lifecycle<T>> stop<T>(
        {Duration duration = const Duration(seconds: 0),
        required StreamPredicate<Lifecycle<T>> after,
        required T emit}) =>
    Schedule.emission<Lifecycle<T>>(
        duration: duration, emit: Lifecycle.stop(emit), after: after);