commit | ebad527a0e08d517d51a0d6dc5fc86d2cb98b16b | [log] [tgz] |
---|---|---|
author | Jonah Williams <jonahwilliams@google.com> | Thu Oct 22 10:05:18 2020 -0700 |
committer | GitHub <noreply@github.com> | Thu Oct 22 10:05:18 2020 -0700 |
tree | db2fc956618e848a9b91273c35e15bc4e517988b | |
parent | 2f482984fb43a643267446cd4a3fea8eff850ffb [diff] |
updaet SDK constraint for null safety (#27)
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.