commit | 0a85ce065d059b075229d0a77d256c301dea56b2 | [log] [tgz] |
---|---|---|
author | Michael Goderbauer <goderbauer@google.com> | Wed Apr 05 14:29:25 2017 -0700 |
committer | GitHub <noreply@github.com> | Wed Apr 05 14:29:25 2017 -0700 |
tree | 5f19713bfce88351f4e1293aafb0bc2f2453eb9b | |
parent | 4f5890dc51776c0659ff1deaaf5e4f6c0ebd38bd [diff] |
Added stdinSupportsAnsi and stdinSupportsAnsi (#9)
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.