copyWithWrapped method

SignalScores copyWithWrapped({
  1. Wrapped<CustomerInitiatedReturnRisk?>? customerInitiatedReturnRisk,
  2. Wrapped<BankInitiatedReturnRisk?>? bankInitiatedReturnRisk,
})

Implementation

SignalScores copyWithWrapped(
    {Wrapped<CustomerInitiatedReturnRisk?>? customerInitiatedReturnRisk,
    Wrapped<BankInitiatedReturnRisk?>? bankInitiatedReturnRisk}) {
  return SignalScores(
      customerInitiatedReturnRisk: (customerInitiatedReturnRisk != null
          ? customerInitiatedReturnRisk.value
          : this.customerInitiatedReturnRisk),
      bankInitiatedReturnRisk: (bankInitiatedReturnRisk != null
          ? bankInitiatedReturnRisk.value
          : this.bankInitiatedReturnRisk));
}