create static method
YoutubeVideoComment
create({
- String? special_type,
- String? author,
- String? channel_id,
- String? date,
- bool? is_hearted,
- int? like_count,
- int? reply_count,
- String? text,
override
return original data json
Implementation
static YoutubeVideoComment create({
String? special_type,
String? author,
String? channel_id,
String? date,
bool? is_hearted,
int? like_count,
int? reply_count,
String? text,
}) {
YoutubeVideoComment youtubeVideoComment = YoutubeVideoComment({
"@type": special_type,
"author": author,
"channel_id": channel_id,
"date": date,
"is_hearted": is_hearted,
"like_count": like_count,
"reply_count": reply_count,
"text": text,
});
return youtubeVideoComment;
}