copyWithWrapped method

PaystubDeduction copyWithWrapped({
  1. Wrapped<String?>? type,
  2. Wrapped<bool?>? isPretax,
  3. Wrapped<double?>? total,
})

Implementation

PaystubDeduction copyWithWrapped(
    {Wrapped<String?>? type,
    Wrapped<bool?>? isPretax,
    Wrapped<double?>? total}) {
  return PaystubDeduction(
      type: (type != null ? type.value : this.type),
      isPretax: (isPretax != null ? isPretax.value : this.isPretax),
      total: (total != null ? total.value : this.total));
}