copyWithWrapped method
Implementation
WebApiModulesHomeActiveLinkPurchaseOrderApprovalPurchaseOrderApprovalActivity
copyWithWrapped({
Wrapped<String?>? username,
Wrapped<String?>? activityDescription,
Wrapped<String?>? note,
Wrapped<DateTime?>? performedAt,
Wrapped<String?>? timeAgo,
}) {
return WebApiModulesHomeActiveLinkPurchaseOrderApprovalPurchaseOrderApprovalActivity(
username: (username != null ? username.value : this.username),
activityDescription: (activityDescription != null
? activityDescription.value
: this.activityDescription),
note: (note != null ? note.value : this.note),
performedAt: (performedAt != null ? performedAt.value : this.performedAt),
timeAgo: (timeAgo != null ? timeAgo.value : this.timeAgo),
);
}