StoryInfo.fromJson constructor

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

Parse from a json

Implementation

factory StoryInfo.fromJson(Map<String, dynamic> json) => StoryInfo(
      storyId: json['story_id'],
      date: json['date'],
      isForCloseFriends: json['is_for_close_friends'],
    );