FeatureLoadFailedEvent class final
Emitted when a lazy feature fails to load, or is disabled by its flag.
- Inheritance
-
- Object
- VyuhEvent<
VyuhFailure> - SystemEvent<
VyuhFailure> - FeatureLoadFailedEvent
Constructors
- FeatureLoadFailedEvent({required String featureName, required VyuhFailure failure})
Properties
- data → VyuhFailure?
-
Optional data associated with the event.
finalinherited
- failure → VyuhFailure
-
The failure. Its kind is FailureKind.featureDisabled for a disabled
feature and FailureKind.featureLoad otherwise.
final
- featureName → String
-
The name of the feature.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
The name of the event, used for identification and logging.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timestamp → DateTime
-
When the event was created.
finalinherited
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