commit | 00e563f4b8c57c40134888e048fa2270e7af23f7 | [log] [tgz] |
---|---|---|
author | Jonah Williams <jonahwilliams@google.com> | Wed Nov 04 10:29:23 2020 -0800 |
committer | GitHub <noreply@github.com> | Wed Nov 04 10:29:23 2020 -0800 |
tree | 051d495ba0b5ff99ebb771f91addab5a963d8296 | |
parent | ebad527a0e08d517d51a0d6dc5fc86d2cb98b16b [diff] |
Update for beta release (#28)
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.