toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'answerWebAppQuery',
if (extra != null) '@extra': extra,
'web_app_query_id': web_app_query_id,
'result': result
};
}