injectFutureMock abstract method

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

Inject a fake future implementation of this injected model.

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

Implementation

void injectFutureMock(Future<T> Function() fakeCreator);