ServiceDescriptor<T> class
The service descriptor
Constructors
- ServiceDescriptor.new(T factory(ServiceProvider container), {bool isSingleton = false, bool isScopeSingleton = false})
Properties
-
configurations
→ List<
void Function(T service)> -
configure service after creation
final
- factory → T Function(ServiceProvider container)
-
the service factory
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isScopeSingleton → bool
-
is scope singleton
final
- isSingleton → bool
-
is singleton
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- serviceType → Type
-
the service type
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited