ServiceFactory<T> typedef
ServiceFactory<T> =
T Function(ServiceProvider)
A function that can produce a T
. Dependencies can be resolved using the
passed ServiceProvider.
Implementation
typedef ServiceFactory<T> = T Function(ServiceProvider);