copyWith method

CPUCores copyWith({
  1. String? name,
  2. double? frequency,
})

Implementation

CPUCores copyWith({
  String? name,
  double? frequency,
}) {
  return CPUCores(
    name: name ?? this.name,
    frequency: frequency ?? this.frequency,
  );
}