LazyFactoryGenerator class
- Inheritance
-
- Object
- RegisterFuncGenerator
- LazyFactoryGenerator
Constructors
-
LazyFactoryGenerator(Set<
ImportableType> prefixedTypes, {dynamic isLazySingleton = false})
Properties
- buffer → StringBuffer
-
finalinherited
- funcName → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isLazySingleton → dynamic
-
final
-
prefixedTypes
→ Set<
ImportableType> -
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
closeRegisterFunc(
DependencyConfig dep) → void -
inherited
-
flattenParams(
List< InjectedDependency> deps, String getIt) → String -
inherited
-
generate(
DependencyConfig dep) → String -
override
-
generateAwaitSetup(
DependencyConfig dep, String constructBody) → String -
inherited
-
generateInitializer(
DependencyConfig dep, {String getIt = 'get'}) → String -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
write(
Object o) → dynamic -
inherited
-
writeln(
Object o) → dynamic -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited