Img.fromJson constructor
Implementation
factory Img.fromJson(final Map<String, dynamic> json) => Img(
uuid: json["uuid"] as String?,
id: json["id"] as String?,
resourceType: json["resourceType"] as String?,
resourceId: json["resourceId"] as String?,
type: json["type"] as String?,
contentType: json["contentType"] as String?,
resizedMediaList: json["resizedMediaList"] == null
? null
: List<ResizedMediaList>.from(json["resizedMediaList"].map(
(x) => ResizedMediaList.fromJson(x as Map<String, dynamic>))
as Iterable<dynamic>),
active: json["active"] as bool? ?? false,
);