commit | 952e2e2e7bbb52650503310247c04c6b00f15b77 | [log] [tgz] |
---|---|---|
author | Alexander Aprelev <aam@google.com> | Mon Feb 12 10:37:18 2018 -0800 |
committer | Todd Volkert <tvolkert@users.noreply.github.com> | Mon Feb 12 10:37:18 2018 -0800 |
tree | dbcc18dbb59c7be831fb7ad632726d660c35f7ed | |
parent | 6a6e415471242b82d38981958d0a5bf1030f88ce [diff] |
Update sdk constraint to <2.0.0. Drop '-dev.infinity' (#14)
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.