A generic platform abstraction for Dart.
package:platform supplies a rich, Dart-idiomatic API for
accessing platform-specific information.
package:platform provides a lightweight wrapper around the static
properties that exist in
dart:io. However, it uses instance properties rather
than static properties, making it possible to mock out in tests.
Core interfaces & classes.