anchor.diff:  }) {
     GTag.event(
       screenName,
  -    gtagEventWithScreenMetrics(
  +    _gtagEvent(
         event_category: analytics_constants.timingEvent,
         event_label: timedOperation,
         value: durationMicros,
         send_to: gaDevToolsPropertyId(),
  -      user_app: userAppType,
  -      user_build: userBuildType,
  -      user_platform: userPlatformType,
  -      devtools_platform: devtoolsPlatformType,
  -      devtools_chrome: devtoolsChrome,
  -      devtools_version: devtoolsVersion,
  -      ide_launched: ideLaunched,
  -      flutter_client_id: flutterClientId,
         screenMetrics: screenMetrics,
       ),
     );
  
positive.code:   );
  }
  
  @JS()
  @anonymous
  class GtagExceptionDevTools extends GtagException {
    external factory GtagExceptionDevTools({
      String description,
      bool fatal,
      String user_app, // dimension1 (flutter or web)
      String user_build, // dimension2 (debug or profile)
      String user_platform, // dimension3 (android or ios)
  
negative.code: void reportError(
    String errorMessage, {
    bool fatal = false,
    ScreenAnalyticsMetrics Function() screenMetricsProvider,
  }) {
    // Don't keep recording same last error.
    if (_lastGaError == errorMessage) return;
    _lastGaError = errorMessage;
  
    GTag.exception(
      _gtagException(
        errorMessage,
        fatal: fatal,
        screenMetrics:
            screenMetricsProvider != null ? screenMetricsProvider() : null,
      ),
    );
  }
  