copyWithWrapped method

AddressMatchScore copyWithWrapped({
  1. Wrapped<int?>? score,
  2. Wrapped<bool?>? isPostalCodeMatch,
})

Implementation

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