Video.fromJSON constructor

Video.fromJSON(
  1. Map<String, dynamic> json
)

Implementation

factory Video.fromJSON(Map<String, dynamic> json) {
  return Video(
      playbackURL: json['playback_url'],
      dashURL: json['dash_url'],
      status: json['status'],
      drmEnabled: json["enable_drm"]);
}