CPUCores class

CPUCores is the class to represent the cpu cores.

Constructors

CPUCores({required String name, required double frequency})
CPUCores.fromJson(String source)
fromJson is the method to convert the json to a class.
factory
CPUCores.fromMap(Map<String, dynamic> map)
fromMap is the method to convert the map to a class.
factory

Properties

frequency double
frequency is the frequency of the core.
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
name String
name is the name of the core.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({String? name, double? frequency}) CPUCores
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