create static method

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

return original data json

Implementation

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

  return youtubeGetVideoComments;
}