tree: 52f41c607dcb500706b3d872971b0745b8b92413 [path history] [tgz]
  1. .analysis_options
  2. .gitignore
  3. AUTHORS
  4. CHANGELOG.md
  5. CONTRIBUTING.md
  6. LICENSE
  7. README.md
  8. dev/
  9. pubspec.yaml
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.