VideoSegment.fromJson constructor

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

Creates a VideoSegment from the json map.

Implementation

factory VideoSegment.fromJson(Map<String, dynamic> json) =>
    VideoSegment(json["videoUri"],
        startTime: json["startTime"], endTime: json["endTime"]);