copyWith method
Implementation
NameMatchScore copyWith(
{int? score,
bool? isFirstNameOrLastNameMatch,
bool? isNicknameMatch,
bool? isBusinessNameDetected}) {
return NameMatchScore(
score: score ?? this.score,
isFirstNameOrLastNameMatch:
isFirstNameOrLastNameMatch ?? this.isFirstNameOrLastNameMatch,
isNicknameMatch: isNicknameMatch ?? this.isNicknameMatch,
isBusinessNameDetected:
isBusinessNameDetected ?? this.isBusinessNameDetected);
}