copyWithWrapped method

DeviceCountLogDTO copyWithWrapped({
  1. Wrapped<int?>? oncueValue,
  2. Wrapped<int?>? hepValue,
  3. Wrapped<DateTime?>? timestamp,
})

Implementation

DeviceCountLogDTO copyWithWrapped(
    {Wrapped<int?>? oncueValue,
    Wrapped<int?>? hepValue,
    Wrapped<DateTime?>? timestamp}) {
  return DeviceCountLogDTO(
      oncueValue: (oncueValue != null ? oncueValue.value : this.oncueValue),
      hepValue: (hepValue != null ? hepValue.value : this.hepValue),
      timestamp: (timestamp != null ? timestamp.value : this.timestamp));
}