copyWith method
Creates a copy of this GrxPhoneNumber with the given fields replaced.
If a field is not provided, it will use the current value.
Implementation
GrxPhoneNumber copyWith({String? phone, String? countryCode}) {
return GrxPhoneNumber(
phone: phone ?? this.phone,
countryCode: countryCode ?? this.countryCode,
);
}