copyWith method
CPUInfo
copyWith({
- String? soc,
- String? cpu,
- String? vendor,
- String? cores,
- String? machines,
- String? cpuClockRange,
- List<
CPUCores> ? cpuClocks, - List<
String> ? supportedAbis, - List<
String> ? supported32bitAbis, - List<
String> ? supported64bitAbis, - List<
String> ? instructions, - String? revision,
- String? governer,
- String? gpu,
- String? gpuVendor,
- String? gpuVersion,
- List<
String> ? openglExtensions,
Implementation
CPUInfo copyWith({
String? soc,
String? cpu,
String? vendor,
String? cores,
String? machines,
String? cpuClockRange,
List<CPUCores>? cpuClocks,
List<String>? supportedAbis,
List<String>? supported32bitAbis,
List<String>? supported64bitAbis,
List<String>? instructions,
String? revision,
String? governer,
String? gpu,
String? gpuVendor,
String? gpuVersion,
List<String>? openglExtensions,
}) {
return CPUInfo(
soc: soc ?? this.soc,
cpu: cpu ?? this.cpu,
vendor: vendor ?? this.vendor,
cores: cores ?? this.cores,
machines: machines ?? this.machines,
cpuClockRange: cpuClockRange ?? this.cpuClockRange,
cpuClocks: cpuClocks ?? this.cpuClocks,
supportedAbis: supportedAbis ?? this.supportedAbis,
supported32bitAbis: supported32bitAbis ?? this.supported32bitAbis,
supported64bitAbis: supported64bitAbis ?? this.supported64bitAbis,
instructions: instructions ?? this.instructions,
revision: revision ?? this.revision,
governer: governer ?? this.governer,
gpu: gpu ?? this.gpu,
gpuVendor: gpuVendor ?? this.gpuVendor,
gpuVersion: gpuVersion ?? this.gpuVersion,
openglExtensions: openglExtensions ?? this.openglExtensions,
);
}