injectMock method

  1. @override
void injectMock(
  1. T fakeCreator()
)
override

Inject a fake implementation of this injected model.

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

Implementation

@override
void injectMock(T Function() fakeCreator) {
  _injectMock(fakeCreator);
}