create static method

YoutubeGetVideo create({
  1. String? special_type,
  2. String? video_id,
})
override

return original data json

Implementation

static YoutubeGetVideo create({
  String? special_type,
  String? video_id,
}) {
  YoutubeGetVideo youtubeGetVideo = YoutubeGetVideo({
    "@type": special_type,
    "video_id": video_id,
  });

  return youtubeGetVideo;
}