commit | 17e660f2889d72948a34094bcb2cc177d2e98871 | [log] [tgz] |
---|---|---|
author | Greg Spencer <gspencergoog@users.noreply.github.com> | Mon Aug 16 17:25:01 2021 -0700 |
committer | GitHub <noreply@github.com> | Mon Aug 16 17:25:01 2021 -0700 |
tree | 58d6ef7c14b258c09557a27ac7aab00ea0835215 | |
parent | a09333fb321fd99c26d205e52fa39e71e49739c2 [diff] |
Fix sdk version constraint to no longer be pre-release (#34) Fixed the Dart SDK constraint to no longer be a pre-release constraint (i.e. 2.12.0 instead of 2.12.0-0). Also, added a pre-commit publish check.
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.