PictureElem.fromJson constructor

PictureElem.fromJson(
  1. Map<String, dynamic> json
)

Implementation

PictureElem.fromJson(Map<String, dynamic> json) {
  sourcePath = json['sourcePath'];
  sourcePicture = json['sourcePicture'] != null ? new PictureInfo.fromJson(json['sourcePicture']) : null;
  bigPicture = json['bigPicture'] != null ? new PictureInfo.fromJson(json['bigPicture']) : null;
  snapshotPicture = json['snapshotPicture'] != null ? new PictureInfo.fromJson(json['snapshotPicture']) : null;
}