More fix. Not sure if difference.
2 files changed
tree: abc9c8ab859c806cfa596acc4b7cbf16cb0f9d5d
  1. .github/
  2. example/
  3. lib/
  4. test/
  5. tool/
  6. .gitignore
  7. analysis_options.yaml
  8. AUTHORS
  9. CHANGELOG.md
  10. CONTRIBUTING.md
  11. LICENSE
  12. migration-guide.md
  13. pubspec.yaml
  14. README.md
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.