copyWithWrapped method

DeviceAnalyticsDTO copyWithWrapped({
  1. Wrapped<int?>? totalDeviceCount,
  2. Wrapped<int?>? totalOncueDeviceCount,
  3. Wrapped<int?>? totalHEPDeviceCount,
  4. Wrapped<double?>? averageDeviceCount,
  5. Wrapped<double?>? averageOncueDeviceCount,
  6. Wrapped<double?>? averageHEPDeviceCount,
})

Implementation

DeviceAnalyticsDTO copyWithWrapped(
    {Wrapped<int?>? totalDeviceCount,
    Wrapped<int?>? totalOncueDeviceCount,
    Wrapped<int?>? totalHEPDeviceCount,
    Wrapped<double?>? averageDeviceCount,
    Wrapped<double?>? averageOncueDeviceCount,
    Wrapped<double?>? averageHEPDeviceCount}) {
  return DeviceAnalyticsDTO(
      totalDeviceCount: (totalDeviceCount != null
          ? totalDeviceCount.value
          : this.totalDeviceCount),
      totalOncueDeviceCount: (totalOncueDeviceCount != null
          ? totalOncueDeviceCount.value
          : this.totalOncueDeviceCount),
      totalHEPDeviceCount: (totalHEPDeviceCount != null
          ? totalHEPDeviceCount.value
          : this.totalHEPDeviceCount),
      averageDeviceCount: (averageDeviceCount != null
          ? averageDeviceCount.value
          : this.averageDeviceCount),
      averageOncueDeviceCount: (averageOncueDeviceCount != null
          ? averageOncueDeviceCount.value
          : this.averageOncueDeviceCount),
      averageHEPDeviceCount: (averageHEPDeviceCount != null
          ? averageHEPDeviceCount.value
          : this.averageHEPDeviceCount));
}