copyWithWrapped method
NotificationInsertV3Body
copyWithWrapped({ - Wrapped<String?>? dealerId,
- Wrapped<int?>? deviceId,
- Wrapped<String?>? type,
- Wrapped<String?>? message,
- Wrapped<int?>? timeCreated,
- Wrapped<DateTime?>? dateTime,
- Wrapped<String?>? serialNumber,
- Wrapped<String?>? displayName,
- Wrapped<bool?>? isUnRead,
- Wrapped<bool?>? isDeleted,
- Wrapped<DateTime?>? dateCreated,
})
Implementation
NotificationInsertV3Body copyWithWrapped(
{Wrapped<String?>? dealerId,
Wrapped<int?>? deviceId,
Wrapped<String?>? type,
Wrapped<String?>? message,
Wrapped<int?>? timeCreated,
Wrapped<DateTime?>? dateTime,
Wrapped<String?>? serialNumber,
Wrapped<String?>? displayName,
Wrapped<bool?>? isUnRead,
Wrapped<bool?>? isDeleted,
Wrapped<DateTime?>? dateCreated}) {
return NotificationInsertV3Body(
dealerId: (dealerId != null ? dealerId.value : this.dealerId),
deviceId: (deviceId != null ? deviceId.value : this.deviceId),
type: (type != null ? type.value : this.type),
message: (message != null ? message.value : this.message),
timeCreated:
(timeCreated != null ? timeCreated.value : this.timeCreated),
dateTime: (dateTime != null ? dateTime.value : this.dateTime),
serialNumber:
(serialNumber != null ? serialNumber.value : this.serialNumber),
displayName:
(displayName != null ? displayName.value : this.displayName),
isUnRead: (isUnRead != null ? isUnRead.value : this.isUnRead),
isDeleted: (isDeleted != null ? isDeleted.value : this.isDeleted),
dateCreated:
(dateCreated != null ? dateCreated.value : this.dateCreated));
}