commit | 947982a4e85294c046137f18a3f6654527d2622c | [log] [tgz] |
---|---|---|
author | Todd Volkert <tvolkert@users.noreply.github.com> | Fri Apr 07 11:38:32 2017 -0700 |
committer | GitHub <noreply@github.com> | Fri Apr 07 11:38:32 2017 -0700 |
tree | c83f9d4238e1cb7f0d339d0db1d20504886fbc0b | |
parent | 8ae6f90090c75042ebcfa503567f55fbd9968c21 [diff] |
Update to 1.1.0-g3, which has the API of 2.0.0 but works with Dart SDK 1.23.0-dev.9.0 (#10)
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.