StoryContentVideo.fromJson constructor

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

Parse from a json

Implementation

factory StoryContentVideo.fromJson(Map<String, dynamic> json) =>
    StoryContentVideo(
      video: StoryVideo.fromJson(json['video']),
      alternativeVideo: json['alternative_video'] == null
          ? null
          : StoryVideo.fromJson(json['alternative_video']),
    );