copyWithWrapped method

MortgageInterestRate copyWithWrapped({
  1. Wrapped<double?>? percentage,
  2. Wrapped<String?>? type,
})

Implementation

MortgageInterestRate copyWithWrapped(
    {Wrapped<double?>? percentage, Wrapped<String?>? type}) {
  return MortgageInterestRate(
      percentage: (percentage != null ? percentage.value : this.percentage),
      type: (type != null ? type.value : this.type));
}