InjectorReader class
Determines details for generating code as a result of @Injector.generate.
Constructors
- InjectorReader(TopLevelVariableElement field, LibraryReader libraryReader, {ModuleReader moduleReader = const ModuleReader(), Uri? doNotScope})
 
Properties
- annotation → ConstantReader
 - 
  
@GenerateInjectorannotation object;final - doNotScope → Uri?
 - 
  Originating file URL.
  final
 - field → TopLevelVariableElement
 - 
  A top-level 
InjectorFactoryfield annotated with@GenerateInjector.final - hashCode → int
 - 
  The hash code for this object.
  no setterinherited
 - libraryReader → LibraryReader
 - 
  
  final
 - moduleReader → ModuleReader
 - 
  
  final
 - 
  providers
  → Iterable<
ProviderElement>  - 
  Providers that are part of the provided list of the annotation.
  no setter
 - runtimeType → Type
 - 
  A representation of the runtime type of the object.
  no setterinherited
 
Methods
- 
  accept(
InjectorVisitor visitor) → void  - 
  Uses 
visitorto emit the results of this reader. - 
  noSuchMethod(
Invocation invocation) → dynamic  - 
  Invoked when a nonexistent method or property is accessed.
  inherited
 - 
  toString(
) → String  - 
  A string representation of this object.
  inherited
 
Operators
- 
  operator ==(
Object other) → bool  - 
  The equality operator.
  inherited
 
Static Methods
- 
  findInjectors(
LibraryElement element) → List< InjectorReader>  - 
  Returns a list of all injectors needing generation in 
element.