Dependency<T> constructor
const
Dependency<T> (
- T factory(
- Dependencies scope
- List<
Type> dependsOn = const [],
Creates a Dependency with the given factory and dependencies.
Implementation
const Dependency(this.factory, {this.dependsOn = const []});