copyWith method
Implementation
GpuInfo copyWith({
String? name,
String? gpuGeneration,
bool? hasUnifiedMemory,
int? recommendedMaxWorkingSetSize,
int? registryID,
MaxThreadsPerThreadgroup? maxThreadsPerThreadgroup,
Map<String, bool>? supportsFamily,
}) {
return GpuInfo(
name: name ?? this.name,
recommendedMaxWorkingSetSize:
recommendedMaxWorkingSetSize ?? this.recommendedMaxWorkingSetSize,
registryID: registryID ?? this.registryID,
maxThreadsPerThreadgroup:
maxThreadsPerThreadgroup ?? this.maxThreadsPerThreadgroup,
supportsFamily: supportsFamily ?? this.supportsFamily,
);
}