factory property

T Function(IocContainer container) factory
final

The factory that creates the instance of the service and can access other services in this container

Implementation

final T Function(
  IocContainer container,
) factory;