DashEvent enum

Values for the event name to be sent to Google Analytics.

The label for each enum value is what will be logged, the description is here for documentation purposes.

Set the nullable toolOwner parameter if the event belongs to one specific tool, otherwise, if multiple tools will be sending the event, leave it null.

Inheritance
Available extensions

Values

analyticsCollectionEnabled → const DashEvent
const DashEvent(label: 'analytics_collection_enabled', description: 'The opt-in status for analytics collection')
analyticsException → const DashEvent
const DashEvent(label: 'analytics_exception', description: 'Errors that are encountered within package:unified_analytics')
exception → const DashEvent
const DashEvent(label: 'exception', description: 'General errors to log')
surveyAction → const DashEvent
const DashEvent(label: 'survey_action', description: 'Actions taken by users when shown survey')
surveyShown → const DashEvent
const DashEvent(label: 'survey_shown', description: 'Survey shown to the user')
timing → const DashEvent
const DashEvent(label: 'timing', description: 'Events for timing how long a process takes')
dartCliCommandExecuted → const DashEvent
const DashEvent(label: 'dart_cli_command_executed', description: 'Information about the execution of a Dart CLI command', toolOwner: DashTool.dartTool)
pubGet → const DashEvent
const DashEvent(label: 'pub_get', description: 'Pub package resolution details', toolOwner: DashTool.dartTool)
devtoolsEvent → const DashEvent
const DashEvent(label: 'devtools_event', description: 'Information for various devtools events', toolOwner: DashTool.devtools)
appleUsageEvent → const DashEvent
const DashEvent(label: 'apple_usage_event', description: 'Events related to iOS/macOS workflows within the flutter tool', toolOwner: DashTool.flutterTool)
codeSizeAnalysis → const DashEvent
const DashEvent(label: 'code_size_analysis', description: 'Indicates when the "--analyize-size" command is run', toolOwner: DashTool.flutterTool)
commandUsageValues → const DashEvent
const DashEvent(label: 'command_usage_values', description: 'Contains command level custom dimensions from legacy ' 'flutter analytics', toolOwner: DashTool.flutterTool)
doctorValidatorResult → const DashEvent
const DashEvent(label: 'doctor_validator_result', description: 'Results from a specific doctor validator', toolOwner: DashTool.flutterTool)
flutterBuildInfo → const DashEvent
const DashEvent(label: 'flutter_build_info', description: 'Information for a flutter build invocation', toolOwner: DashTool.flutterTool)
flutterCommandResult → const DashEvent
const DashEvent(label: 'flutter_command_result', description: 'Provides information about flutter commands that ran', toolOwner: DashTool.flutterTool)
hotReloadTime → const DashEvent
const DashEvent(label: 'hot_reload_time', description: 'Hot reload duration', toolOwner: DashTool.flutterTool)
hotRunnerInfo → const DashEvent
const DashEvent(label: 'hot_runner_info', description: 'Information related to the Flutter hot runner', toolOwner: DashTool.flutterTool)
clientNotification → const DashEvent
const DashEvent(label: 'client_notification', description: 'Notifications sent from the client')
clientRequest → const DashEvent
const DashEvent(label: 'client_request', description: 'Requests sent from the client')
commandExecuted → const DashEvent
const DashEvent(label: 'command_executed', description: 'Number of times a command is executed')
contextStructure → const DashEvent
const DashEvent(label: 'context_structure', description: 'Structure of the analysis contexts being analyzed')
lintUsageCount → const DashEvent
const DashEvent(label: 'lint_usage_count', description: 'Number of times a given lint is enabled')
memoryInfo → const DashEvent
const DashEvent(label: 'memory_info', description: 'Memory usage information')
pluginRequest → const DashEvent
const DashEvent(label: 'plugin_request', description: 'Request responses from plugins')
pluginUse → const DashEvent
const DashEvent(label: 'plugin_use', description: 'Information about how often a plugin was used')
serverSession → const DashEvent
const DashEvent(label: 'server_session', description: 'Dart Analyzer Server session data')
severityAdjustment → const DashEvent
const DashEvent(label: 'severity_adjustment', description: 'Number of times diagnostic severity is changed')

Properties

description String
final
hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
label String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
toolOwner DashTool?
final

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

Static Methods

fromLabel(String label) DashEvent?
This takes in the string label for a given DashEvent and returns the enum for that string label.

Constants

values → const List<DashEvent>
A constant List of the values in this enum, in order of their declaration.