visibleForInjection property
Whether the provider is visible for injection.
If false, no code is generated to return this provider from an injector, nor will the instance be used as a parameter to satisfy local dependencies.
Implementation
final bool visibleForInjection;