Add const constructors for Platform and LocalPlatform
diff --git a/lib/src/interface/local_platform.dart b/lib/src/interface/local_platform.dart
index 0cd117d..a0406c3 100644
--- a/lib/src/interface/local_platform.dart
+++ b/lib/src/interface/local_platform.dart
@@ -8,6 +8,9 @@
/// `Platform` implementation that delegates directly to `dart:io`.
class LocalPlatform extends Platform {
+ /// Creates a new [LocalPlatform].
+ const LocalPlatform();
+
@override
int get numberOfProcessors => io.Platform.numberOfProcessors;
diff --git a/lib/src/interface/platform.dart b/lib/src/interface/platform.dart
index f0d5ca7..35b111b 100644
--- a/lib/src/interface/platform.dart
+++ b/lib/src/interface/platform.dart
@@ -8,6 +8,9 @@
/// instance properties rather than static properties. This difference enables
/// the use of these APIs in tests, where you can provide mock implementations.
abstract class Platform {
+ /// Creates a new [Platform].
+ const Platform();
+
/// The number of processors of the machine.
int get numberOfProcessors;