FeaturedImage.fromJson constructor
Implementation
factory FeaturedImage.fromJson(Map<String, dynamic> json){
return FeaturedImage(
id: json["id"],
type: json["type"],
name: json["name"],
path: json["path"],
extension: json["extension"],
size: json["size"],
status: json["status"],
s3: json["s3"],
createdAt: DateTime.tryParse(json["created_at"] ?? ""),
oldPath: json["old_path"],
thumb: json["thumb"],
url: json["url"],
);
}