copyWithWrapped method
Implementation
NotificationHistoryInsertV3Body copyWithWrapped(
{Wrapped<enums.NotificationTypeDTO?>? type,
Wrapped<String?>? message,
Wrapped<String?>? serialNumber,
Wrapped<String?>? url,
Wrapped<enums.PlatformDTO?>? devicePlatform,
Wrapped<DateTime?>? dateCreated,
Wrapped<List<String>?>? tags,
Wrapped<Map<String, dynamic>?>? tagToOutcomeIdMap}) {
return NotificationHistoryInsertV3Body(
type: (type != null ? type.value : this.type),
message: (message != null ? message.value : this.message),
serialNumber:
(serialNumber != null ? serialNumber.value : this.serialNumber),
url: (url != null ? url.value : this.url),
devicePlatform: (devicePlatform != null
? devicePlatform.value
: this.devicePlatform),
dateCreated:
(dateCreated != null ? dateCreated.value : this.dateCreated),
tags: (tags != null ? tags.value : this.tags),
tagToOutcomeIdMap: (tagToOutcomeIdMap != null
? tagToOutcomeIdMap.value
: this.tagToOutcomeIdMap));
}