DIImpl class

Implemented types

Constructors

DIImpl()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

get<T extends Object>() → T
override
isRequestScoped<T extends Object>() bool
Whether T was registered with registerRequestScoped.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerFactory<T extends Object>(T factory()) → void
override
registerLazySingleton<T extends Object>(T factory()) → void
override
registerRequestScoped<T extends Object>(T factory()) → void
Registers a dependency built once per request and shared for the rest of it.
override
registerSingleton<T extends Object>(T instance) → void
override
requestScopedFactory<T extends Object>() → T Function()?
The request-scoped factory for T, or null if T is not request scoped. Used by the per-request container to build its own instance.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited