commit | eca398f6901c9cb879839d7a5bc99bf5a212a9d2 | [log] [tgz] |
---|---|---|
author | Jonah Williams <jonahwilliams@google.com> | Mon Aug 10 16:56:22 2020 -0700 |
committer | GitHub <noreply@github.com> | Mon Aug 10 16:56:22 2020 -0700 |
tree | 088012d8e34e6583cbcff485d76cee068193e802 | |
parent | 33bb07771d6d459a8fd1cafc7ad3195144bc4b51 [diff] |
publishable null-safety release (#25) publishable null-safety release Co-authored-by: Jacob MacDonald <jakemac@google.com>
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.