Object to Map serializer
@override Map<String, dynamic> toJson() { return { '@type': 'getPreferredCountryLanguage', if (extra != null) '@extra': extra, 'country_code': country_code }; }