toJson method
Implementation
Map<String, dynamic> toJson() {
return {
'ref_country': refCountry.toJson(),
'country_codes': countryCodes.map((e) => e.toJson()).toList(),
'phone_number_prefixes': phoneNumberPrefixes.map((e) => e.toJson()).toList(),
};
}