commit | e3218ad25a74d59277c6ccf6d76cdfe94d9c3b92 | [log] [tgz] |
---|---|---|
author | Moritz <mosum@google.com> | Fri Oct 18 10:54:47 2024 +0200 |
committer | GitHub <noreply@github.com> | Fri Oct 18 10:54:47 2024 +0200 |
tree | 594e5064c4059ac9f05714b3e81277c625c5c5af | |
parent | 59158885bcc546804f2fd66e1a5b45c52bfa8250 [diff] |
Update README.md (#55)
[!IMPORTANT]
This repo has moved to https://github.com/dart-lang/core/tree/main/pkgs/platform
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.