create static method

YoutubeSearchSuggestions create({
  1. String? special_type,
  2. int? count,
  3. List<String>? suggestions,
})
override

return original data json

Implementation

static YoutubeSearchSuggestions create({
  String? special_type,
  int? count,
  List<String>? suggestions,
}) {
  YoutubeSearchSuggestions youtubeSearchSuggestions =
      YoutubeSearchSuggestions({
    "@type": special_type,
    "count": count,
    "suggestions": suggestions,
  });

  return youtubeSearchSuggestions;
}