Run dcm unused-code check over devtools_shared (#9932)
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index 5f94a51..ed990d4 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -86,7 +86,7 @@
       - name: Run dcm checks on packages
         # TODO(https://github.com/flutter/devtools/issues/9906): run on all DevTools packages.
         run: |
-          dcm check-unused-code packages/devtools_app --exclude-public-api
+          dcm check-unused-code packages/devtools_app packages/devtools_shared --exclude-public-api
 
   test-packages:
     name: ${{ matrix.os }} ${{ matrix.package }} test
diff --git a/packages/devtools_shared/lib/src/server/flutter_store.dart b/packages/devtools_shared/lib/src/server/flutter_store.dart
index a45ebda..e316c56 100644
--- a/packages/devtools_shared/lib/src/server/flutter_store.dart
+++ b/packages/devtools_shared/lib/src/server/flutter_store.dart
@@ -7,16 +7,10 @@
 /// Provides access to the local Flutter store (~/.flutter).
 class FlutterStore {
   static const storeName = '.flutter';
-  static const firstRunKey = 'firstRun';
-  static const gaEnabledKey = 'enabled';
   static const flutterClientIdKey = 'clientId';
 
   final properties = IOPersistentProperties(storeName);
 
-  bool get isFirstRun => properties[firstRunKey] == true;
-
-  bool get gaEnabled => properties[gaEnabledKey] == true;
-
   String get flutterClientId =>
       (properties[flutterClientIdKey] as String?) ?? '';
 }
diff --git a/packages/devtools_shared/lib/src/utils/file_utils.dart b/packages/devtools_shared/lib/src/utils/file_utils.dart
index 3822720..e913797 100644
--- a/packages/devtools_shared/lib/src/utils/file_utils.dart
+++ b/packages/devtools_shared/lib/src/utils/file_utils.dart
@@ -5,6 +5,7 @@
 import 'package:dtd/dtd.dart';
 import 'package:meta/meta.dart';
 
+// ignore: unused-code, false positive.
 const _fileUriPrefix = 'file://';
 
 /// Attempts to detect the package root of [fileUriString], which is expected to