Photo.fromJson constructor

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

Implementation

factory Photo.fromJson(Map<String, dynamic> json) {
  return Photo(downloadUrl: json['downloadUrl']);
}