StorageStatisticsByChat.fromJson constructor
Parse from a json
Implementation
factory StorageStatisticsByChat.fromJson(Map<String, dynamic> json) => StorageStatisticsByChat(
chatId: json['chat_id'] ?? 0,
size: json['size'],
count: json['count'],
byFileType: List<StorageStatisticsByFileType>.from((json['by_file_type'] ?? []).map((item) => StorageStatisticsByFileType.fromJson(item)).toList()),
);