commit | c5ecf6ab7063633d4635f6ad665f7008b4174b0b | [log] [tgz] |
---|---|---|
author | Todd Volkert <tvolkert@users.noreply.github.com> | Mon Feb 13 10:28:05 2017 -0800 |
committer | GitHub <noreply@github.com> | Mon Feb 13 10:28:05 2017 -0800 |
tree | f0f8efce043149d250e24630e562b9d65afbd3eb | |
parent | 338adcb1f9883a56a40f16469521ada85711469c [diff] | |
parent | e1692a9e4b59039394be7ff8f39a836d7a9df377 [diff] |
Merge pull request #3 from tvolkert/docs Minor doc updates
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.