ServiceProvider constructor
ServiceProvider({
- bool printDebugLogs = false,
Root service provider
printDebugLogsWhentureprint debug logs for service providers in debug-mode. Whenfalsewill not print any logs include its sub scoped service provider. if you only want to enable service container debug logging please call ServiceContainerLogging.enableDebugLogging before service container is created and set this argument tofalse. To prevent duplicate log outputs, see ServiceContainerLogging
Implementation
ServiceProvider({bool printDebugLogs = false}) : _root = _ServiceProviderScope._root(printDebugLogs: printDebugLogs);