copyWithWrapped method
Implementation
NameMatchScore copyWithWrapped(
{Wrapped<int?>? score,
Wrapped<bool?>? isFirstNameOrLastNameMatch,
Wrapped<bool?>? isNicknameMatch,
Wrapped<bool?>? isBusinessNameDetected}) {
return NameMatchScore(
score: (score != null ? score.value : this.score),
isFirstNameOrLastNameMatch: (isFirstNameOrLastNameMatch != null
? isFirstNameOrLastNameMatch.value
: this.isFirstNameOrLastNameMatch),
isNicknameMatch: (isNicknameMatch != null
? isNicknameMatch.value
: this.isNicknameMatch),
isBusinessNameDetected: (isBusinessNameDetected != null
? isBusinessNameDetected.value
: this.isBusinessNameDetected));
}