create static method

YoutubeChannelLinks create({
  1. String? special_type,
  2. String? title,
  3. String? url,
  4. String? icon,
})
override

return original data json

Implementation

static YoutubeChannelLinks create({
  String? special_type,
  String? title,
  String? url,
  String? icon,
}) {
  YoutubeChannelLinks youtubeChannelLinks = YoutubeChannelLinks({
    "@type": special_type,
    "title": title,
    "url": url,
    "icon": icon,
  });

  return youtubeChannelLinks;
}