create static method

YoutubeGetChannel create({
  1. String? special_type,
  2. String? channel_id,
})
override

return original data json

Implementation

static YoutubeGetChannel create({
  String? special_type,
  String? channel_id,
}) {
  YoutubeGetChannel youtubeGetChannel = YoutubeGetChannel({
    "@type": special_type,
    "channel_id": channel_id,
  });

  return youtubeGetChannel;
}