tree: abcd96321ad989864ce5b08bd60e4a4a9457b805 [path history] [tgz]
  1. lib/
  2. test/
  3. .gitignore
  4. AUTHORS
  5. CHANGELOG.md
  6. dart_test.yaml
  7. LICENSE
  8. pubspec.yaml
  9. README.md
packages/platform/README.md

Pub

A generic platform abstraction for Dart.

Like dart:io, package:platform supplies a rich, Dart-idiomatic API for accessing platform-specific information.

package:platform provides a lightweight wrapper around the static Platform properties that exist in dart:io. However, it uses instance properties rather than static properties, making it possible to mock out in tests.