ObjectFactory<T> typedef

ObjectFactory<T> = T Function(Injector injector, Params? params)

Represents a factory able to create instances of type T.

Implementation

typedef T ObjectFactory<T>(Injector injector, Params? params);