create static method
YoutubeChannelVideos
create({
- String? special_type,
- int? count,
- List<
YoutubeVideo> ? videos,
override
return original data json
Implementation
static YoutubeChannelVideos create({
String? special_type,
int? count,
List<YoutubeVideo>? videos,
}) {
YoutubeChannelVideos youtubeChannelVideos = YoutubeChannelVideos({
"@type": special_type,
"count": count,
"videos": (videos != null)
? videos.map((res) => res.toJson()).toList().cast<Map>()
: null,
});
return youtubeChannelVideos;
}