create static method
YoutubeChannel
create({
- String? special_type,
- String? id,
- String? title,
- String? url,
- int? subscribers_count,
- String? profile_banner,
- String? profile_picture,
override
return original data json
Implementation
static YoutubeChannel create({
String? special_type,
String? id,
String? title,
String? url,
int? subscribers_count,
String? profile_banner,
String? profile_picture,
}) {
YoutubeChannel youtubeChannel = YoutubeChannel({
"@type": special_type,
"id": id,
"title": title,
"url": url,
"subscribers_count": subscribers_count,
"profile_banner": profile_banner,
"profile_picture": profile_picture,
});
return youtubeChannel;
}