ServiceDescriptor<T> class
This class is used for describing services in the service provider.
Constructors
- ServiceDescriptor(Service _service, T _factory())
- Creates a new ServiceDescriptor
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
produce(
) → T -
Invokes the
_factory
to create a new instance of the service. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited