[null-safety] migrate platform to null-safe dart (#24)

Migrate platform to null-safety. Remove stable travis shard since that does not support null safety
10 files changed
tree: 61c9f4f369b3c140993898a665330be91bf1bc25
  1. .gitignore
  2. .travis.yml
  3. AUTHORS
  4. CHANGELOG.md
  5. CONTRIBUTING.md
  6. LICENSE
  7. README.md
  8. analysis_options.yaml
  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.