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

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
service Service
The Service that this descriptor describes.
no setter

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