ServiceResolveEvent class final

Describes one service-resolution attempt.

Constructors

ServiceResolveEvent({required RuntimeEventContext context, required Type serviceType, required String? serviceKey, required ServiceResolutionSource source, required Iterable<String> resolutionPath, required DateTime startedAt, required DateTime completedAt, required Duration duration, required Object? error, required StackTrace? stackTrace})

Properties

completedAt DateTime
final
context RuntimeEventContext
final
duration Duration
final
error Object?
final
hashCode int
The hash code for this object.
no setterinherited
resolutionPath List<String>
Human-readable request path. AutoInjector missing-service errors retain their constructor/key path; successful requests contain the requested service as the first segment.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serviceKey String?
Logical ServiceKey.name, not a backend-specific key encoding.
final
serviceType Type
final
source ServiceResolutionSource
final
stackTrace StackTrace?
final
startedAt DateTime
final
succeeded bool
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