CachedImageModel.fromJson constructor
Implementation
factory CachedImageModel.fromJson(Map<String, dynamic> json) {
return CachedImageModel(
id: json['id'] ?? 0,
filename: json['filename'],
data: base64Decode(json['data']),
createdAt: json['createdAt'],
futureRefresh: json['futureRefresh'],
);
}