injectMock abstract method

void injectMock(
  1. T fakeCreator()
)

Inject a fake implementation of this injected model.

  • Required parameters:
    • creationFunction (positional parameter): the fake creation function

Implementation

void injectMock(T Function() fakeCreator);