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
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