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({String? added, required String duration, String? excluded, String? files, String? included, required String latency, required String method, 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.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.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.

Properties

eventData Map<String, Object?>
final
eventName → DashEvent
final
hashCode int
The hash code for this object.
no setterinherited
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.
inherited

Operators

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