copyWith method

PhoneNumberModule copyWith({
  1. String? countryCode,
  2. String? phoneNumber,
})

Implementation

PhoneNumberModule copyWith({
  String? countryCode,
  String? phoneNumber,
}) {
  return PhoneNumberModule(
    countryCode: countryCode ?? this.countryCode,
    phoneNumber: phoneNumber ?? this.phoneNumber,
  );
}