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