DependencyResolver class Null safety
An implementation of dependency injection
- Available Extensions
Constructors
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
add<
T extends IDependency> (T dependency, [Object? family]) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
remove<
T extends IDependency> (T dependency) → void -
resolve<
T extends IDependency> (T create(), {Object? family}) → T -
toString(
) → String -
A string representation of this object. [...]
inherited
-
walk(
bool? walker(IDependency dependency)) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited