copyWithWrapped method

ProductStatusBreakdown copyWithWrapped({
  1. Wrapped<double>? success,
  2. Wrapped<double>? errorPlaid,
  3. Wrapped<double>? errorInstitution,
  4. Wrapped<ProductStatusBreakdownRefreshInterval?>? refreshInterval,
})

Implementation

ProductStatusBreakdown copyWithWrapped(
    {Wrapped<double>? success,
    Wrapped<double>? errorPlaid,
    Wrapped<double>? errorInstitution,
    Wrapped<enums.ProductStatusBreakdownRefreshInterval?>? refreshInterval}) {
  return ProductStatusBreakdown(
      success: (success != null ? success.value : this.success),
      errorPlaid: (errorPlaid != null ? errorPlaid.value : this.errorPlaid),
      errorInstitution: (errorInstitution != null
          ? errorInstitution.value
          : this.errorInstitution),
      refreshInterval: (refreshInterval != null
          ? refreshInterval.value
          : this.refreshInterval));
}