MacOsDeviceInfo class

Object encapsulating MACOS device information.

Implemented types

Constructors

MacOsDeviceInfo({required String computerName, required String hostName, required String arch, required String model, required String kernelVersion, required String osRelease, required int activeCPUs, required int memorySize, required int cpuFrequency, required String? systemGUID})
Constructs a MacOsDeviceInfo.
const

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
hashCode int
The hash code for this object.
no setterinherited
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 or Darwin Kernel Version 15.0.0: Wed Dec 9 22:19:38 PST 2015; root:xnu-3248.31.3~2/RELEASE_ARM64_S8000
final
memorySize int
Machine's memory size
final
model String
Device model
final
osRelease String
Operating system release number
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
systemGUID String?
Device GUID
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
Serializes MacOsDeviceInfo to map.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromMap(Map map) MacOsDeviceInfo
Constructs a MacOsDeviceInfo from a Map of dynamic.