copyWith method

CPUInfo copyWith({
  1. String? soc,
  2. String? cpu,
  3. String? vendor,
  4. String? cores,
  5. String? machines,
  6. String? cpuClockRange,
  7. List<CPUCores>? cpuClocks,
  8. List<String>? supportedAbis,
  9. List<String>? supported32bitAbis,
  10. List<String>? supported64bitAbis,
  11. List<String>? instructions,
  12. String? revision,
  13. String? governer,
  14. String? gpu,
  15. String? gpuVendor,
  16. String? gpuVersion,
  17. 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,
  );
}