copyWithWrapped method
Implementation
AssetReport copyWithWrapped(
{Wrapped<String>? assetReportId,
Wrapped<String?>? clientReportId,
Wrapped<DateTime>? dateGenerated,
Wrapped<double>? daysRequested,
Wrapped<AssetReportUser>? user,
Wrapped<List<AssetReportItem>>? items}) {
return AssetReport(
assetReportId:
(assetReportId != null ? assetReportId.value : this.assetReportId),
clientReportId: (clientReportId != null
? clientReportId.value
: this.clientReportId),
dateGenerated:
(dateGenerated != null ? dateGenerated.value : this.dateGenerated),
daysRequested:
(daysRequested != null ? daysRequested.value : this.daysRequested),
user: (user != null ? user.value : this.user),
items: (items != null ? items.value : this.items));
}