Skip to content
This repository was archived by the owner on Oct 18, 2024. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ based on the `operatingSystem` string.
To use this package instead of `dart:io`, replace
the import of `dart:io` with:
```dart
import "package:platform_id/platform_id.dart" as Platform;
import "package:os_id/os_id.dart" as Platform;
```
That should keep the code working if the only functionality used from `dart:io`
is operating system detection.
Expand All @@ -39,4 +39,4 @@ to whatever values are desired.
The class `OperatingSystemID` can also be used directly to
abstract over the operating system name and version.
The `OperatingSystemID.current` defaults to the values provided by the platform
when not overridden using `overrideOperatingSystem`,
when not overridden using `overrideOperatingSystem`.