Represents a factory able to create instances of type T.
T
typedef T ObjectFactory<T>(Injector injector, Params? params);