create static method

YoutubeVideoThumbnails create({
  1. String? special_type,
  2. String? low,
  3. String? medium,
  4. String? high,
  5. String? max,
  6. String? standard,
})
override

return original data json

Implementation

static YoutubeVideoThumbnails create({
  String? special_type,
  String? low,
  String? medium,
  String? high,
  String? max,
  String? standard,
}) {
  YoutubeVideoThumbnails youtubeVideoThumbnails = YoutubeVideoThumbnails({
    "@type": special_type,
    "low": low,
    "medium": medium,
    "high": high,
    "max": max,
    "standard": standard,
  });

  return youtubeVideoThumbnails;
}