create static method

YoutubeVideoComment create({
  1. String? special_type,
  2. String? author,
  3. String? channel_id,
  4. String? date,
  5. bool? is_hearted,
  6. int? like_count,
  7. int? reply_count,
  8. 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;
}