copyWithWrapped method

AnalyticsDTO copyWithWrapped({
  1. Wrapped<int?>? deviceCount,
  2. Wrapped<int?>? connectedDeviceCount,
  3. Wrapped<int?>? dealerOrgCount,
  4. Wrapped<int?>? onboardedDealerOrgCount,
  5. Wrapped<int?>? dealerDeviceCount,
  6. Wrapped<int?>? dealerUserCount,
  7. Wrapped<int?>? homeownerCount,
  8. Wrapped<int?>? appHomeownerCount,
  9. Wrapped<int?>? monitoringAppHomeownerCount,
  10. Wrapped<int?>? homeownerDeviceCount,
  11. Wrapped<int?>? monitoringDealerOrgCount,
  12. Wrapped<int?>? homeownerMonitoringUnassignedDeviceCount,
  13. Wrapped<CellKitAnalyticsDTO?>? cellKitAnalytics,
})

Implementation

AnalyticsDTO copyWithWrapped(
    {Wrapped<int?>? deviceCount,
    Wrapped<int?>? connectedDeviceCount,
    Wrapped<int?>? dealerOrgCount,
    Wrapped<int?>? onboardedDealerOrgCount,
    Wrapped<int?>? dealerDeviceCount,
    Wrapped<int?>? dealerUserCount,
    Wrapped<int?>? homeownerCount,
    Wrapped<int?>? appHomeownerCount,
    Wrapped<int?>? monitoringAppHomeownerCount,
    Wrapped<int?>? homeownerDeviceCount,
    Wrapped<int?>? monitoringDealerOrgCount,
    Wrapped<int?>? homeownerMonitoringUnassignedDeviceCount,
    Wrapped<CellKitAnalyticsDTO?>? cellKitAnalytics}) {
  return AnalyticsDTO(
      deviceCount:
          (deviceCount != null ? deviceCount.value : this.deviceCount),
      connectedDeviceCount: (connectedDeviceCount != null
          ? connectedDeviceCount.value
          : this.connectedDeviceCount),
      dealerOrgCount: (dealerOrgCount != null
          ? dealerOrgCount.value
          : this.dealerOrgCount),
      onboardedDealerOrgCount: (onboardedDealerOrgCount != null
          ? onboardedDealerOrgCount.value
          : this.onboardedDealerOrgCount),
      dealerDeviceCount: (dealerDeviceCount != null
          ? dealerDeviceCount.value
          : this.dealerDeviceCount),
      dealerUserCount: (dealerUserCount != null
          ? dealerUserCount.value
          : this.dealerUserCount),
      homeownerCount: (homeownerCount != null
          ? homeownerCount.value
          : this.homeownerCount),
      appHomeownerCount: (appHomeownerCount != null
          ? appHomeownerCount.value
          : this.appHomeownerCount),
      monitoringAppHomeownerCount: (monitoringAppHomeownerCount != null
          ? monitoringAppHomeownerCount.value
          : this.monitoringAppHomeownerCount),
      homeownerDeviceCount: (homeownerDeviceCount != null
          ? homeownerDeviceCount.value
          : this.homeownerDeviceCount),
      monitoringDealerOrgCount: (monitoringDealerOrgCount != null
          ? monitoringDealerOrgCount.value
          : this.monitoringDealerOrgCount),
      homeownerMonitoringUnassignedDeviceCount:
          (homeownerMonitoringUnassignedDeviceCount != null
              ? homeownerMonitoringUnassignedDeviceCount.value
              : this.homeownerMonitoringUnassignedDeviceCount),
      cellKitAnalytics: (cellKitAnalytics != null
          ? cellKitAnalytics.value
          : this.cellKitAnalytics));
}