injectStreamMock method

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

Inject a fake stream implementation of this injected model.

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

Implementation

@override
void injectStreamMock(Stream<T> Function() fakeCreator) {
  _injectMock(fakeCreator);
}