toJson method
Converts this object to TDLib JSON.
Implementation
@override
Map<String, dynamic> toJson() => {
'@type': CONSTRUCTOR,
'file_id': fileId,
'complete_date': completeDate,
'is_paused': isPaused,
'counts': counts.toJson(),
};