copyWithWrapped method

PaymentProfileGetResponse copyWithWrapped({
  1. Wrapped<DateTime>? updatedAt,
  2. Wrapped<DateTime>? createdAt,
  3. Wrapped<DateTime?>? deletedAt,
  4. Wrapped<PaymentProfileStatus>? status,
  5. Wrapped<String>? requestId,
})

Implementation

PaymentProfileGetResponse copyWithWrapped(
    {Wrapped<DateTime>? updatedAt,
    Wrapped<DateTime>? createdAt,
    Wrapped<DateTime?>? deletedAt,
    Wrapped<enums.PaymentProfileStatus>? status,
    Wrapped<String>? requestId}) {
  return PaymentProfileGetResponse(
      updatedAt: (updatedAt != null ? updatedAt.value : this.updatedAt),
      createdAt: (createdAt != null ? createdAt.value : this.createdAt),
      deletedAt: (deletedAt != null ? deletedAt.value : this.deletedAt),
      status: (status != null ? status.value : this.status),
      requestId: (requestId != null ? requestId.value : this.requestId));
}