InitMethodGenerator class

Mixed-in types

Constructors

InitMethodGenerator({required List<DependencyConfig> scopeDependencies, required DependencyList allDependencies, required String initializerName, Uri? targetFile, bool asExtension = false, String? scopeName, bool isMicroPackage = false, Set<ExternalModuleConfig> microPackagesModulesBefore = const {}, Set<ExternalModuleConfig> microPackagesModulesAfter = const {}, bool usesConstructorCallback = false})

Properties

allDependencies DependencyList
final
asExtension bool
final
dependencies DependencyList
getter/setter pairoverride-getter
hashCode int
The hash code for this object.
no setterinherited
initializerName String
final
isMicroPackage bool
final
microPackagesModulesAfter Set<ExternalModuleConfig>
final
microPackagesModulesBefore Set<ExternalModuleConfig>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scopeName String?
final
targetFile Uri?
final
usesConstructorCallback bool
final

Methods

buildLazyRegisterFun(DependencyConfig dep) → Code
buildSingletonRegisterFun(DependencyConfig dep) → Code
generate() → Method
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