copyWithWrapped method

CellKitRenewalDTO copyWithWrapped({
  1. Wrapped<String?>? requestId,
  2. Wrapped<String?>? sapAccountNumber,
  3. Wrapped<List<CellKitRenewalItem>?>? items,
})

Implementation

CellKitRenewalDTO copyWithWrapped(
    {Wrapped<String?>? requestId,
    Wrapped<String?>? sapAccountNumber,
    Wrapped<List<CellKitRenewalItem>?>? items}) {
  return CellKitRenewalDTO(
      requestId: (requestId != null ? requestId.value : this.requestId),
      sapAccountNumber: (sapAccountNumber != null
          ? sapAccountNumber.value
          : this.sapAccountNumber),
      items: (items != null ? items.value : this.items));
}