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