copyWithWrapped method
Implementation
NotificationV2 copyWithWrapped(
{Wrapped<int?>? id,
Wrapped<int?>? deviceId,
Wrapped<String?>? type,
Wrapped<String?>? message,
Wrapped<DateTime?>? timestamp,
Wrapped<String?>? serialNumber,
Wrapped<String?>? displayName,
Wrapped<int?>? epochTimestamp}) {
return NotificationV2(
id: (id != null ? id.value : this.id),
deviceId: (deviceId != null ? deviceId.value : this.deviceId),
type: (type != null ? type.value : this.type),
message: (message != null ? message.value : this.message),
timestamp: (timestamp != null ? timestamp.value : this.timestamp),
serialNumber:
(serialNumber != null ? serialNumber.value : this.serialNumber),
displayName:
(displayName != null ? displayName.value : this.displayName),
epochTimestamp: (epochTimestamp != null
? epochTimestamp.value
: this.epochTimestamp));
}