Clone this repo:
  1. 00e563f Update for beta release (#28) by Jonah Williams · 3 weeks ago master
  2. ebad527 updaet SDK constraint for null safety (#27) by Jonah Williams · 5 weeks ago
  3. 2f48298 update sdk contraint for 2.11 (#26) by Jonah Williams · 10 weeks ago
  4. eca398f publishable null-safety release (#25) by Jonah Williams · 4 months ago
  5. 33bb077 [null-safety] migrate platform to null-safe dart (#24) by Jonah Williams · 4 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.