copyWith method

PhoneNumberInfo copyWith({
  1. CountryInfo? country,
  2. String? countryCallingCode,
  3. String? formattedPhoneNumber,
  4. dynamic extra,
  5. int? clientId,
})

Implementation

PhoneNumberInfo copyWith({
  CountryInfo? country,
  String? countryCallingCode,
  String? formattedPhoneNumber,
  dynamic extra,
  int? clientId,
}) => PhoneNumberInfo(
  country: country ?? this.country,
  countryCallingCode: countryCallingCode ?? this.countryCallingCode,
  formattedPhoneNumber: formattedPhoneNumber ?? this.formattedPhoneNumber,
  extra: extra ?? this.extra,
  clientId: clientId ?? this.clientId,
);