ProviderAst constructor

ProviderAst(
  1. CompileTokenMetadata token,
  2. bool multiProvider,
  3. List<CompileProviderMetadata> providers,
  4. ProviderAstType providerType,
  5. SourceSpan sourceSpan, {
  6. required bool eager,
  7. bool isReferencedOutsideBuild = true,
  8. CompileTypeMetadata? typeArgument,
  9. bool visibleForInjection = false,
})

Implementation

ProviderAst(
  this.token,
  this.multiProvider,
  this.providers,
  this.providerType,
  this.sourceSpan, {
  required this.eager,
  this.isReferencedOutsideBuild = true,
  this.typeArgument,
  this.visibleForInjection = false,
});