toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'createVideoChat',
if (extra != null) '@extra': extra,
'chat_id': chat_id,
'title': title,
'start_date': start_date,
'is_rtmp_stream': is_rtmp_stream
};
}