copyWith method
AnalyticsDTO
copyWith({ - int? deviceCount,
- int? connectedDeviceCount,
- int? dealerOrgCount,
- int? onboardedDealerOrgCount,
- int? dealerDeviceCount,
- int? dealerUserCount,
- int? homeownerCount,
- int? appHomeownerCount,
- int? monitoringAppHomeownerCount,
- int? homeownerDeviceCount,
- int? monitoringDealerOrgCount,
- int? homeownerMonitoringUnassignedDeviceCount,
- CellKitAnalyticsDTO? cellKitAnalytics,
})
Implementation
AnalyticsDTO copyWith(
{int? deviceCount,
int? connectedDeviceCount,
int? dealerOrgCount,
int? onboardedDealerOrgCount,
int? dealerDeviceCount,
int? dealerUserCount,
int? homeownerCount,
int? appHomeownerCount,
int? monitoringAppHomeownerCount,
int? homeownerDeviceCount,
int? monitoringDealerOrgCount,
int? homeownerMonitoringUnassignedDeviceCount,
CellKitAnalyticsDTO? cellKitAnalytics}) {
return AnalyticsDTO(
deviceCount: deviceCount ?? this.deviceCount,
connectedDeviceCount: connectedDeviceCount ?? this.connectedDeviceCount,
dealerOrgCount: dealerOrgCount ?? this.dealerOrgCount,
onboardedDealerOrgCount:
onboardedDealerOrgCount ?? this.onboardedDealerOrgCount,
dealerDeviceCount: dealerDeviceCount ?? this.dealerDeviceCount,
dealerUserCount: dealerUserCount ?? this.dealerUserCount,
homeownerCount: homeownerCount ?? this.homeownerCount,
appHomeownerCount: appHomeownerCount ?? this.appHomeownerCount,
monitoringAppHomeownerCount:
monitoringAppHomeownerCount ?? this.monitoringAppHomeownerCount,
homeownerDeviceCount: homeownerDeviceCount ?? this.homeownerDeviceCount,
monitoringDealerOrgCount:
monitoringDealerOrgCount ?? this.monitoringDealerOrgCount,
homeownerMonitoringUnassignedDeviceCount:
homeownerMonitoringUnassignedDeviceCount ??
this.homeownerMonitoringUnassignedDeviceCount,
cellKitAnalytics: cellKitAnalytics ?? this.cellKitAnalytics);
}