thenEmit method

void thenEmit(
  1. List<T> values
)

The function will be called and completed with a Stream that emits values.

Implementation

void thenEmit(List<T> values) =>
    thenAnswer((_) => Stream.fromIterable(values));