copyWith method

SentryGpu copyWith({
  1. String? name,
  2. int? id,
  3. int? vendorId,
  4. String? vendorName,
  5. int? memorySize,
  6. String? apiType,
  7. bool? multiThreadedRendering,
  8. String? version,
  9. String? npotSupport,
})

Implementation

SentryGpu copyWith({
  String? name,
  int? id,
  int? vendorId,
  String? vendorName,
  int? memorySize,
  String? apiType,
  bool? multiThreadedRendering,
  String? version,
  String? npotSupport,
}) =>
    SentryGpu(
      name: name ?? this.name,
      id: id ?? this.id,
      vendorId: vendorId ?? this.vendorId,
      vendorName: vendorName ?? this.vendorName,
      memorySize: memorySize ?? this.memorySize,
      apiType: apiType ?? this.apiType,
      multiThreadedRendering:
          multiThreadedRendering ?? this.multiThreadedRendering,
      version: version ?? this.version,
      npotSupport: npotSupport ?? this.npotSupport,
    );