StoryContentPhoto.fromJson constructor

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

Parse from a json

Implementation

factory StoryContentPhoto.fromJson(Map<String, dynamic> json) =>
    StoryContentPhoto(
      photo: Photo.fromJson(json['photo']),
    );