commit | e1692a9e4b59039394be7ff8f39a836d7a9df377 | [log] [tgz] |
---|---|---|
author | Todd Volkert <tvolkert@google.com> | Mon Feb 13 09:54:32 2017 -0800 |
committer | Todd Volkert <tvolkert@google.com> | Mon Feb 13 09:54:32 2017 -0800 |
tree | f0f8efce043149d250e24630e562b9d65afbd3eb | |
parent | 338adcb1f9883a56a40f16469521ada85711469c [diff] |
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.