2.2.0 release (#18)

* Update package:test dependency
* Declare compatibility with Dart 2 stable
* Fix Dart 2 errors
3 files changed
tree: 4f3697fdc06212f37adc7538e09173feb3e00069
  1. .analysis_options
  2. .gitignore
  3. .travis.yml
  4. AUTHORS
  5. CHANGELOG.md
  6. CONTRIBUTING.md
  7. LICENSE
  8. README.md
  9. dev/
  10. lib/
  11. pubspec.yaml
  12. test/
README.md

Platform

Build Status - Coverage Status - 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.