injectFutureMock method

  1. @override
void injectFutureMock(
  1. Future<T> fakeCreator()
)
override

Inject a fake future implementation of this injected model.

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

Implementation

@override
void injectFutureMock(Future<T> Function() fakeCreator) {
  _injectMock(fakeCreator);
}