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.analyticsException({required String workflow, required String error, String? description})
Event that is emitted when an error occurs within package:unified_analytics, tools that are using this package should not use this event constructor.
Event.appleUsageEvent({required String workflow, required String parameter, String? result})
This is for various workflows within the flutter tool related to iOS and macOS workflows.
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.codeSizeAnalysis({required String platform})
An event that reports when the code size measurement is run via --analyze-size.
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.commandUsageValues({required String workflow, required bool commandHasTerminal, String? buildBundleTargetPlatform, bool? buildBundleIsModule, String? buildAarProjectType, String? buildAarTargetPlatform, String? buildApkTargetPlatform, String? buildApkBuildMode, bool? buildApkSplitPerAbi, String? buildAppBundleTargetPlatform, String? buildAppBundleBuildMode, String? createProjectType, String? createAndroidLanguage, String? createIosLanguage, int? packagesNumberPlugins, bool? packagesProjectModule, String? packagesAndroidEmbeddingVersion, bool? runIsEmulator, String? runTargetName, String? runTargetOsVersion, String? runModeName, bool? runProjectModule, String? runProjectHostLanguage, String? runAndroidEmbeddingVersion, bool? runEnableImpeller, String? runIOSInterfaceType, bool? runIsTest})
Event to capture usage values for different flutter commands.
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.doctorValidatorResult({required String validatorName, required String result, required bool partOfGroupedValidator, required int doctorInvocationId, String? statusInfo})
Event that contains the results for a specific doctor validator.
Event.exception({required String exception})
Generic event for all dash tools to use when encountering an exception that we want to log.
Event.flutterBuildInfo({required String label, required String buildType, String? command, String? settings, String? error})
Event that is emitted from the flutter tool when a build invocation has been run by the user.
Event.flutterCommandResult({required String commandPath, required String result, required bool commandHasTerminal, int? maxRss})
Provides information about which flutter command was run and whether it was successful.
Event.hotReloadTime({required int timeMs})
Event.hotRunnerInfo({required String label, required String targetPlatform, required String sdkName, required bool emulator, required bool fullRestart, String? reason, int? finalLibraryCount, int? syncedLibraryCount, int? syncedClassesCount, int? syncedProceduresCount, int? syncedBytes, int? invalidatedSourcesCount, int? transferTimeInMs, int? overallTimeInMs, int? compileTimeInMs, int? findInvalidatedTimeInMs, int? scannedSourcesCount, int? reassembleTimeInMs, int? reloadVMTimeInMs})
Events to be sent for the Flutter Hot Runner.
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.
Event.timing({required String workflow, required String variableName, required int elapsedMilliseconds, String? label})
Event that records how long a given process takes to complete.

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