InstanceProvider<T> class abstract

Inheritance
Implementers

Constructors

InstanceProvider({required Type type, Type? host, bool eager = true, bool replace = false, String scope = "singleton"})

Properties

eager bool
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
host Type
no setteroverride
lifecycleMethods List<List<MethodCall>?>
getter/setter pair
location String
no setterinherited
replace bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scope String
no setteroverride
type Type
no setteroverride

Methods

create(Environment environment, [List args = const []]) → T
inherited
getDependencies(Environment environment) → (List<ParameterResolver>, Set<Type>, int)
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
report() String
inherited
resolve(ResolveContext context) → void
inherited
toString() String
A string representation of this object.
inherited

Operators

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