copyWith method
PhoneNumberInfo
copyWith({
- CountryInfo? country,
- String? countryCallingCode,
- String? formattedPhoneNumber,
- bool? isAnonymous,
Implementation
PhoneNumberInfo copyWith({
CountryInfo? country,
String? countryCallingCode,
String? formattedPhoneNumber,
bool? isAnonymous,
}) => PhoneNumberInfo(
country: country ?? this.country,
countryCallingCode: countryCallingCode ?? this.countryCallingCode,
formattedPhoneNumber: formattedPhoneNumber ?? this.formattedPhoneNumber,
isAnonymous: isAnonymous ?? this.isAnonymous,
);