inject method

void inject(
  1. T notifier
)

Injects a notifier into this resolver

This Resolver will always return this injected notifier. This can be used during testing, to inject mocks.

Implementation

void inject(T notifier) => _toInject = notifier;