DependencyConfig class Null safety

Constructors

DependencyConfig({required ImportableType type, required ImportableType typeImpl, int injectableType = InjectableType.factory, List<InjectedDependency> dependencies = const [], String? instanceName, bool? signalsReady, List<String> environments = const [], String? constructorName = '', bool isAsync = false, List<ImportableType> dependsOn = const [], bool preResolve = false, ModuleConfig? moduleConfig, DisposeFunctionConfig? disposeFunction})
const
DependencyConfig.factory(String type, {List<String> deps = const [], List<String> envs = const []})
factory
DependencyConfig.fromJson(Map json)
factory
DependencyConfig.singleton(String type, {List<String> deps = const []})
factory

Properties

constructorName String?
final
dependencies List<InjectedDependency>
final
dependsOn List<ImportableType>
final
disposeFunction DisposeFunctionConfig?
final
environments List<String>
final
hashCode int
The hash code for this object. [...]
read-only, override
injectableType int
final
instanceName String?
final
isAsync bool
final
isFromModule bool
read-only
moduleConfig ModuleConfig?
final
namedDependencies List<InjectedDependency>
read-only
positionalDependencies List<InjectedDependency>
read-only
preResolve bool
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
signalsReady bool?
final
type ImportableType
final
typeImpl ImportableType
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
override