commit | c368ca95775a4ec8d0b60899ce51299a9fbda399 | [log] [tgz] |
---|---|---|
author | Todd Volkert <tvolkert@users.noreply.github.com> | Mon Aug 13 11:05:22 2018 -0700 |
committer | GitHub <noreply@github.com> | Mon Aug 13 11:05:22 2018 -0700 |
tree | 4f3697fdc06212f37adc7538e09173feb3e00069 | |
parent | 3d558979f1fbe34d322f55ed5181c44414a5110f [diff] |
2.2.0 release (#18) * Update package:test dependency * Declare compatibility with Dart 2 stable * Fix Dart 2 errors
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.