anchor.diff:  import '../globals.dart';
   import '../ui/analytics_constants.dart';
   import '../ui/gtags.dart';
  +import '../utils.dart';
   import '../version.dart';
   
   export '../ui/analytics_constants.dart';
  
positive.code: ///
  /// Return as a String or null, null implies Flutter Tool has never been run.
  Future<String> flutterGAClientID() async {
    String clientId;
  
    final resp = await HttpRequest.request(
      server.apiGetFlutterGAClientId,
      method: 'POST',
    );
    if (resp.status == HttpStatus.ok) {
      // Return value 'null' implies Flutter tool has never been run return null.
      clientId = json.decode(resp.responseText);
    } else {
      _logWarning(resp, server.apiGetFlutterGAClientId);
    }
    return clientId;
  }
  
  /// Requests all .devtools properties to be reset to their default values in the
  /// file '~/.devtools'.
  void resetDevToolsFile() async {
    final resp = await HttpRequest.request(
      server.apiResetDevTools,
      method: 'POST',
    );
    if (resp.status == HttpStatus.ok) {
      assert(json.decode(resp.responseText));
    } else {
      _logWarning(resp, server.apiResetDevTools);
    }
  }
  
  
negative.code: Future<bool> get isFlutterGAEnabled async {
    bool enabled = false;
  
    if (isDevToolsServerAvailable) {
      final resp = await _request(server.apiGetFlutterGAEnabled);
      if (resp?.status == HttpStatus.ok) {
        // A return value of 'null' implies Flutter tool has never been run.
        enabled = json.decode(resp.responseText);
      } else {
        _logWarning(resp, server.apiGetFlutterGAEnabled);
      }
    }
  
    return enabled;
  