factory Cache.fromJson(Map<String, dynamic> json) { return Cache( badFiles: json['bad_files'] ?? {}, hashfield: json['hashfield'], ); }