ImageInfo.fromJson constructor
Implementation
ImageInfo.fromJson(
Map<String, dynamic> map, String? resolveAsset(String? path))
: aspectRatio = map["aspect_ratio"] ?? 0,
filePath = resolveAsset(map["file_path"]),
height = map["height"] ?? 0,
iso = map["iso_639_1"],
voteAverage = map["vote_average"] ?? 0,
voteCount = map["vote_count"] ?? 0,
width = map["width"] ?? 0;