copyWith method

GpuSync copyWith({
  1. GpuSyncKind? kind,
  2. int? handle,
  3. int? value,
})

A copy of this value with the given members replaced.

Implementation

GpuSync copyWith({GpuSyncKind? kind, int? handle, int? value}) => GpuSync(
  kind: kind ?? this.kind,
  handle: handle ?? this.handle,
  value: value ?? this.value,
);