tree: 533ec82324f289f8ed90a34aea877a6f30027e85 [path history] [tgz]
  1. dev/
  2. lib/
  3. .analysis_options
  4. .gitignore
  5. AUTHORS
  6. CHANGELOG.md
  7. CONTRIBUTING.md
  8. LICENSE
  9. pubspec.yaml
  10. README.md
README.md

Platform

Build Status - Coverage Status -

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.