CivitaImage.fromJson constructor
Implementation
CivitaImage.fromJson(Map<String, dynamic> json) {
id = json['id'];
url = json['url'];
hash = json['hash'];
width = double.parse('${json['width']}');
height = double.parse('${json['height']}');
nsfw = json['nsfw'];
nsfwLevel = json['nsfwLevel'];
createdAt = json['createdAt'];
postId = json['postId'];
stats = CivitaStats.fromJson(json['stats']);
meta = json['meta'];
username = json['username'];
}