PhotoDTO.fromJson constructor
Implementation
PhotoDTO.fromJson(Map<String, dynamic> json) : super.fromJson(json) {
url = json['url'];
name = json['name'];
description = json['description'];
alt = json['alt'];
folder =
json['folder'] != null ? PhotoFolderDTO.fromJson(json['folder']) : null;
}