toJson method
Implementation
@override
Map<String, dynamic> toJson([dynamic extra]) {
return {
"@type": CONSTRUCTOR,
"is_auto_download_enabled": isAutoDownloadEnabled,
"max_photo_file_size": maxPhotoFileSize,
"max_video_file_size": maxVideoFileSize,
"max_other_file_size": maxOtherFileSize,
"video_upload_bitrate": videoUploadBitrate,
"preload_large_videos": preloadLargeVideos,
"preload_next_audio": preloadNextAudio,
"use_less_data_for_calls": useLessDataForCalls,
};
}