[c_compiler] Make the package compatible with 3.0 (#52)

diff --git a/pkgs/c_compiler/lib/src/utils/run_process.dart b/pkgs/c_compiler/lib/src/utils/run_process.dart
index 9369efb..c33a86d 100644
--- a/pkgs/c_compiler/lib/src/utils/run_process.dart
+++ b/pkgs/c_compiler/lib/src/utils/run_process.dart
@@ -99,35 +99,25 @@
   return result;
 }
 
-class RunProcessResult extends ProcessResult {
+/// Drop in replacement of [ProcessResult].
+class RunProcessResult {
+  final int pid;
+
   final String command;
 
-  final int _exitCode;
+  final int exitCode;
 
-  // For some reason super.exitCode returns 0.
-  @override
-  int get exitCode => _exitCode;
+  final String stderr;
 
-  final String _stderrString;
-
-  @override
-  String get stderr => _stderrString;
-
-  final String _stdoutString;
-
-  @override
-  String get stdout => _stdoutString;
+  final String stdout;
 
   RunProcessResult({
-    required int pid,
+    required this.pid,
     required this.command,
-    required int exitCode,
-    required String stderr,
-    required String stdout,
-  })  : _exitCode = exitCode,
-        _stderrString = stderr,
-        _stdoutString = stdout,
-        super(pid, exitCode, stdout, stderr);
+    required this.exitCode,
+    required this.stderr,
+    required this.stdout,
+  });
 
   @override
   String toString() => '''command: $command
diff --git a/pkgs/c_compiler/pubspec.yaml b/pkgs/c_compiler/pubspec.yaml
index 948eef5..abb5769 100644
--- a/pkgs/c_compiler/pubspec.yaml
+++ b/pkgs/c_compiler/pubspec.yaml
@@ -4,7 +4,7 @@
 repository: https://github.com/dart-lang/native/tree/main/pkgs/c_compiler
 
 environment:
-  sdk: ">=2.19.3 <4.0.0"
+  sdk: ">=3.0.0 <4.0.0"
 
 publish_to: none
 
diff --git a/pkgs/native_assets_cli/example/native_add/pubspec.yaml b/pkgs/native_assets_cli/example/native_add/pubspec.yaml
index 46369b4..9737cae 100644
--- a/pkgs/native_assets_cli/example/native_add/pubspec.yaml
+++ b/pkgs/native_assets_cli/example/native_add/pubspec.yaml
@@ -6,7 +6,7 @@
 repository: https://github.com/dart-lang/native/tree/main/pkgs/native_assets_cli/example/native_add
 
 environment:
-  sdk: ">=2.19.3 <4.0.0"
+  sdk: ">=3.0.0 <4.0.0"
 
 dependencies:
   c_compiler:
diff --git a/pkgs/native_assets_cli/pubspec.yaml b/pkgs/native_assets_cli/pubspec.yaml
index 67dd250..0312c0b 100644
--- a/pkgs/native_assets_cli/pubspec.yaml
+++ b/pkgs/native_assets_cli/pubspec.yaml
@@ -4,7 +4,7 @@
 repository: https://github.com/dart-lang/native/tree/main/pkgs/native_assets_cli
 
 environment:
-  sdk: ">=2.19.3 <4.0.0"
+  sdk: ">=3.0.0 <4.0.0"
 
 dependencies:
   cli_config: ^0.1.1