Skip to content

Commit 7e8ba79

Browse files
authored
Improve MacOsDeviceInfo documentation (#192)
* Improve MacOsDeviceInfo documentation * Fix formatting * Increase timeout
1 parent fb24bf4 commit 7e8ba79

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/workflows/all_plugins.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
3535
format:
3636
runs-on: ubuntu-latest
37-
timeout-minutes: 15
37+
timeout-minutes: 20
3838
steps:
3939
- name: 'Git Checkout'
4040
uses: actions/checkout@v2

packages/device_info_plus_platform_interface/lib/model/macos_device_info.dart

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,17 @@ class MacOsDeviceInfo {
2323
/// Operating system type
2424
final String hostName;
2525

26-
/// Machine cpu achecture
26+
/// Machine cpu architecture
2727
final String arch;
2828

2929
/// Device model
3030
final String model;
3131

32-
/// Machine Kernel version. Example Darwin Kernel Version 15.3.0: Thu Dec 10 18:40:58 PST 2015; root:xnu-3248.30.4~1/RELEASE_X86_64” or “Darwin Kernel Version 15.0.0: Wed Dec 9 22:19:38 PST 2015; root:xnu-3248.31.3~2/RELEASE_ARM64_S8000
32+
/// Machine Kernel version.
33+
/// Examples:
34+
/// `Darwin Kernel Version 15.3.0: Thu Dec 10 18:40:58 PST 2015; root:xnu-3248.30.4~1/RELEASE_X86_64`
35+
/// or
36+
/// `Darwin Kernel Version 15.0.0: Wed Dec 9 22:19:38 PST 2015; root:xnu-3248.31.3~2/RELEASE_ARM64_S8000`
3337
final String kernelVersion;
3438

3539
/// Operating system release number
@@ -38,7 +42,7 @@ class MacOsDeviceInfo {
3842
/// Number of active CPUs
3943
final int activeCPUs;
4044

41-
/// Machine's size
45+
/// Machine's memory size
4246
final int memorySize;
4347

4448
/// Device CPU Frequency

0 commit comments

Comments
 (0)