PaidMediaVideo.fromJson constructor

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

Creates a PaidMediaVideo object from JSON.

Implementation

factory PaidMediaVideo.fromJson(Map<String, dynamic> json) {
  return PaidMediaVideo(
    video: Video.fromJson(json['video']),
  );
}