CpuInfo class

This class represents the overall CPU information gathered from the native side.

Constructors

CpuInfo({required int numberOfCores, required String abi, required Map<int, MinMaxFrequency> minMaxFrequencies, required Map<int, int> currentFrequencies, required double cpuTemperature})
CpuInfo.fromJson(Map json)
Deserialize the data json retrieved from the device through platform specific code

Properties

abi String
getter/setter pair
cpuTemperature double
getter/setter pair
currentFrequencies Map<int, int>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
minMaxFrequencies Map<int, MinMaxFrequency>
getter/setter pair
numberOfCores int
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts instance to Json format
toString() String
A string representation of this object.
inherited

Operators

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