SystemEvent<T> class
abstract
The base type for every event the platform emits about its own lifecycle.
Listen to SystemEvent to observe all of them, or to a specific subtype.
Features declare their listeners with FeatureDescriptor.events.
| Event | When |
|---|---|
| SystemInitStartedEvent | Platform init (or a restart) begins |
| FeatureLoadedEvent | An eager feature finished init, or a lazy feature activated |
| FeatureLoadFailedEvent | A lazy feature failed to load or is disabled |
| SystemReadyEvent | Plugins, features and routes are ready |
| SystemInitFailedEvent | Platform init failed |
| RouteFailureEvent | A route could not be shown |
- Inheritance
- Implementers
Constructors
- SystemEvent({required String name, T? data})
Properties
- data → T?
-
Optional data associated with the event.
finalinherited
- 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