injectStreamMock abstract method

void injectStreamMock(
  1. Stream<T> fakeCreator()
)

Inject a fake stream implementation of this injected model.

  • Required parameters:
    • creationFunction (positional parameter): the fake stream

Implementation

void injectStreamMock(Stream<T> Function() fakeCreator);