thenEmitSingle method

void thenEmitSingle(
  1. T value
)

Stub to emit a single value.

Implementation

void thenEmitSingle(T value) => thenAnswer((_) => Stream.value(value));