convertToPhoto function

Photo convertToPhoto(
  1. Map photo
)

Implementation

Photo convertToPhoto(Map photo) => Photo.fromJson(
    '{"1": ${photo['albumId']}, "2": ${photo['id']}, "3": "${photo['title']}", "4": "${photo['url']}"}');