MacOsDeviceInfo class
Object encapsulating MACOS device information.
- Inheritance
-
- Object
- BaseDeviceInfo
- MacOsDeviceInfo
Properties
- activeCPUs → int
-
Number of active CPUs
final
- arch → String
-
Machine cpu architecture
final
- computerName → String
-
Name given to the local machine.
final
- cpuFrequency → int
-
Device CPU Frequency
final
-
data
→ Map<
String, dynamic> -
Device information data
Warning: The returned Map may not be JSON-encodable.
finalinherited
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- hostName → String
-
Operating system type
final
- kernelVersion → String
-
Machine Kernel version.
Examples:
Darwin Kernel Version 15.3.0: Thu Dec 10 18:40:58 PST 2015; root:xnu-3248.30.4~1/RELEASE_X86_64
orDarwin Kernel Version 15.0.0: Wed Dec 9 22:19:38 PST 2015; root:xnu-3248.31.3~2/RELEASE_ARM64_S8000
final - majorVersion → int
-
The major release number, such as 10 in version 10.9.3.
final
- memorySize → int
-
Machine's memory size
final
- minorVersion → int
-
The minor release number, such as 9 in version 10.9.3.
final
- model → String
-
Device model
final
- osRelease → String
-
Operating system release number
final
- patchVersion → int
-
The update release number, such as 3 in version 10.9.3.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- systemGUID → String?
-
Device GUID
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
For legacy purposes
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromMap(
Map< String, dynamic> map) → MacOsDeviceInfo - Constructs a MacOsDeviceInfo from a Map of dynamic.