CPU class

Represents the amount of CPU that an app is using on a physical device. Does not represent system-wide CPU usage.

Constructors

CPU({String? architecture, double? clock, String? frequency})
CPU.fromJson(Map<String, dynamic> json)
factory

Properties

architecture String?
The CPU's architecture (for example, x86 or ARM).
final
clock double?
The clock speed of the device's CPU, expressed in hertz (Hz). For example, a 1.2 GHz CPU is expressed as 1200000000.
final
frequency String?
The CPU's frequency.
final
hashCode int
The hash code for this object.
no setterinherited
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
toString() String
A string representation of this object.
inherited

Operators

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