toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'updateFileDownload',
if (extra != null) '@extra': extra,
'file_id': file_id,
'complete_date': complete_date,
'is_paused': is_paused,
'counts': counts
};
}