goderbauer / platform.dart

A generic platform abstraction for Dart

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Platform

Build Status - Coverage Status - Pub

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.

About

A generic platform abstraction for Dart

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Dart 93.1%Language:Shell 6.9%