copyWithWrapped method

CustomerInitiatedReturnRisk copyWithWrapped({
  1. Wrapped<int>? score,
  2. Wrapped<int>? riskTier,
})

Implementation

CustomerInitiatedReturnRisk copyWithWrapped(
    {Wrapped<int>? score, Wrapped<int>? riskTier}) {
  return CustomerInitiatedReturnRisk(
      score: (score != null ? score.value : this.score),
      riskTier: (riskTier != null ? riskTier.value : this.riskTier));
}