Clone this repo:
  1. c20e6fa stable release for null safety (#29) by Jonah Williams · 5 weeks ago master
  2. 00e563f Update for beta release (#28) by Jonah Williams · 4 months ago
  3. ebad527 updaet SDK constraint for null safety (#27) by Jonah Williams · 5 months ago
  4. 2f48298 update sdk contraint for 2.11 (#26) by Jonah Williams · 6 months ago
  5. eca398f publishable null-safety release (#25) by Jonah Williams · 7 months ago

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.