copyWithWrapped method

WebApiModulesHomeActiveLinkPurchaseOrderApprovalPurchaseOrderApprovalActivity copyWithWrapped({
  1. Wrapped<String?>? username,
  2. Wrapped<String?>? activityDescription,
  3. Wrapped<String?>? note,
  4. Wrapped<DateTime?>? performedAt,
  5. Wrapped<String?>? timeAgo,
})

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),
  );
}