DependencyInstanceReadyEvent class
Event triggered when a dependency instance is fully initialized and ready.
- Inheritance
-
- Object
- MonitorEvent
- DependencyEvent
- DependencyInstanceReadyEvent
Constructors
- DependencyInstanceReadyEvent({required String sessionId, required int scopeId, required String scopeName, required String key, required LevitDependency info, required dynamic instance})
- Creates a new DependencyInstanceReadyEvent.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- info → LevitDependency
-
Metadata about the dependency at the time of the event.
finalinherited
- instance → dynamic
-
The resulting instance.
final
- key → String
-
The registration key of the dependency.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scopeId → int
-
The unique identifier of the scope where the event occurred.
finalinherited
- scopeName → String
-
The descriptive name of the scope.
finalinherited
- seq → int
-
A monotonically increasing sequence number within the current session.
finalinherited
- sessionId → String
-
A unique identifier for the current application session.
finalinherited
- timestamp → DateTime
-
The precise timestamp when the event was captured.
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Converts the event metadata into a standard JSON-encodable map.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited