unified_analytics
library
Enums
-
AiAgent
-
Enumerate options for AI agents supported.
-
DashEnvVar
-
Environment variables used by the unified analytics package.
-
DashTool
-
Officially-supported clients of this package as logical
tools, grouped by user point of view. Derived directly
from the PDD.
Functions
-
areAnalyticsSuppressed({bool defaultValue = false})
→ bool
-
Returns
true if analytics are suppressed based on the environment variable
DASH__SUPPRESS_ANALYTICS.
-
getEnvironment({required DashTool currentTool, bool suppressAnalytics = false})
→ Map<String, String>
-
Returns a Map of environment variables that should be included in processes
that spawn a Dash sub-tool.
-
parseDartSDKVersion(String versionString)
→ String
-
Helper method that can be used to resolve the Dart SDK version for clients
of package:unified_analytics.
-
topLevelTool({required DashTool current})
→ DashTool
-
Returns the top-level tool from the environment variable
DASH__TOOL.