toJson method

Map<String, dynamic> toJson()

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(),
  };
}