Event class final

Constructors

Event.analyticsCollectionEnabled({required bool status})
Event that is emitted whenever a user has opted in or out of the analytics collection.
Event.clientNotification({required String duration, required String latency, required String method})
Event that is emitted periodically to report the performance of the analysis server's handling of a specific kind of notification from the client.
Event.clientRequest({required String duration, required String latency, required String method, String? added, String? excluded, String? files, String? included, String? openWorkspacePaths, String? removed})
Event that is emitted periodically to report the performance of the analysis server's handling of a specific kind of request from the client.
Event.commandExecuted({required int count, required String name})
Event that is emitted periodically to report the number of times a given command has been executed.
Event.contextStructure({required int contextsFromBothFiles, required int contextsFromOptionsFiles, required int contextsFromPackagesFiles, required int contextsWithoutFiles, required int immediateFileCount, required int immediateFileLineCount, required int numberOfContexts, required int transitiveFileCount, required int transitiveFileLineCount, required int transitiveFileUniqueCount, required int transitiveFileUniqueLineCount})
Event that is emitted on shutdown to report the structure of the analysis contexts created immediately after startup.
Event.dartCliCommandExecuted({required String name, required String enabledExperiments, int? exitCode})
Event that is emitted when a Dart CLI command has been executed.
Event.hotReloadTime({required int timeMs})
Event.lintUsageCount({required int count, required String name})
Event that is emitted periodically to report the number of times each lint has been enabled.
Event.memoryInfo({required int rss, int? periodSec, double? mbPerSec})
Event that is emitted periodically to report the amount of memory being used.
Event.pluginRequest({required String duration, required String method, required String pluginId})
Event that is emitted periodically to report the performance of plugins when handling requests.
Event.pluginUse({required int count, required String enabled, required String pluginId})
Event that is emitted periodically to report the frequency with which a given plugin has been used.
Event.pubGet({required String packageName, required String version, required String dependencyType})
Event that is emitted when pub get is run.
Event.serverSession({required String clientId, required String clientVersion, required int duration, required String flags, required String parameters})
Event that is emitted on shutdown to report information about the whole session for which the analysis server was running.
Event.severityAdjustment({required String diagnostic, required String adjustments})
Event that is emitted periodically to report the number of times the severity of a diagnostic was changed in the analysis options file.
Event.surveyAction({required String surveyId, required String status})
Event that is emitted by package:unified_analytics when the user takes action when prompted with a survey.
Event.surveyShown({required String surveyId})
Event that is emitted by package:unified_analytics when the user has been shown a survey.

Properties

eventData Map<String, Object?>
final
eventName → DashEvent
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override