CPUInfo class

CPUInfo is the class for CPU information.

Constructors

CPUInfo({String? soc, String? cpu, String? vendor, String? cores, String? machines, String? cpuClockRange, List<CPUCores>? cpuClocks, List<String>? supportedAbis, List<String>? supported32bitAbis, List<String>? supported64bitAbis, List<String>? instructions, String? revision, String? governer, String? gpu, String? gpuVendor, String? gpuVersion, List<String>? openglExtensions})
CPUInfo.fromJson(String source)
fromJson is the method to convert the json to a class.
factory
CPUInfo.fromMap(Map<String, dynamic> map)
fromMap is the method to convert the map to a class.
factory

Properties

cores String?
cores is the number of CPU cores.
getter/setter pair
cpu String?
cpu is the name of the CPU.
getter/setter pair
cpuClockRange String?
cpuClockRange is the CPU clock range in Mhz.
getter/setter pair
cpuClocks List<CPUCores>?
CPUCores is the list CPU clocks.
getter/setter pair
governer String?
governer is the governor of the CPU.
getter/setter pair
gpu String?
gpu is the name of the GPU.
getter/setter pair
gpuVendor String?
gpuVendor is the name of the GPU vendor.
getter/setter pair
gpuVersion String?
gpuVersion is the version of the GPU.
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
instructions List<String>?
instructions is the list of instructions supported by the CPU.
getter/setter pair
machines String?
machines is the architecture of the CPU.
getter/setter pair
openglExtensions List<String>?
openglExtensions is the list of OpenGL extensions supported by the GPU.
getter/setter pair
revision String?
revision is the revision of the CPU.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
soc String?
soc is the name of the SOC.
getter/setter pair
supported32bitAbis List<String>?
supported32bitAbis is the list of supported 32-bit ABIs.
getter/setter pair
supported64bitAbis List<String>?
supported64bitAbis is the list of supported 64-bit ABIs.
getter/setter pair
supportedAbis List<String>?
supportedAbis is the list of supported ABIs.
getter/setter pair
vendor String?
vendor is the name of the vendor.
getter/setter pair

Methods

copyWith({String? soc, String? cpu, String? vendor, String? cores, String? machines, String? cpuClockRange, List<CPUCores>? cpuClocks, List<String>? supportedAbis, List<String>? supported32bitAbis, List<String>? supported64bitAbis, List<String>? instructions, String? revision, String? governer, String? gpu, String? gpuVendor, String? gpuVersion, List<String>? openglExtensions}) CPUInfo
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
toJson is the method to convert the class to a json.
toMap() Map<String, dynamic>
toMap is the method to convert the class to a map.
toString() String
A string representation of this object.
override

Operators

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