LazyServiceDescriptor<T> class
A description of a lazy loaded service
Constructors
-
LazyServiceDescriptor(ServiceFactory<
T> factory, [Service service = const Service()]) -
Creates a new LazyServiceDescriptor which produces a
T
using the factory.
Properties
-
factory
→ ServiceFactory<
T> -
The factory to produce the service.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- returnType → Type
-
The return type of the factory.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- service → Service
-
The service description.
final
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