commit | fcf5403b68c792fac39d7d2e972193a073161583 | [log] [tgz] |
---|---|---|
author | Felix Angelov <felangelov@gmail.com> | Sun Jul 28 21:12:43 2019 -0500 |
committer | Todd Volkert <tvolkert@users.noreply.github.com> | Sun Jul 28 19:12:43 2019 -0700 |
tree | ea2f314082d13cecf10f4ca43838213009f3bb2d | |
parent | c368ca95775a4ec8d0b60899ce51299a9fbda399 [diff] |
Add operatingSystemVersion (#19)
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.