fromJson static method
Implementation
static StorageStatisticsByFileType? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return StorageStatisticsByFileType(
fileType: FileType.fromJson(tdMapFromJson(json['file_type'])),
size: (json['size'] as int?) ?? 0,
count: (json['count'] as int?) ?? 0,
);
}