commit | e9c7837a0dbe88fe1bb78378983ecd53cd560027 | [log] [tgz] |
---|---|---|
author | Todd Volkert <tvolkert@google.com> | Tue Jan 24 17:37:54 2017 -0800 |
committer | Todd Volkert <tvolkert@google.com> | Tue Jan 24 17:37:54 2017 -0800 |
tree | 52f41c607dcb500706b3d872971b0745b8b92413 |
Provide initial project structure
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.