toJson method
Implementation
@override
Map<String, dynamic> toJson() => <String, dynamic>{
'chat_id': chatId,
'size': size,
'count': count,
'by_file_type': byFileType.map((item) => item.toJson()).toList(),
'@type': constructor,
};