create static method

YoutubeVideoEngagement create({
  1. String? special_type,
  2. int? average_count,
  3. Object? dislike_count,
  4. Object? like_count,
  5. int? view_count,
})
override

return original data json

Implementation

static YoutubeVideoEngagement create({
  String? special_type,
  int? average_count,
  Object? dislike_count,
  Object? like_count,
  int? view_count,
}) {
  YoutubeVideoEngagement youtubeVideoEngagement = YoutubeVideoEngagement({
    "@type": special_type,
    "average_count": average_count,
    "dislike_count": dislike_count,
    "like_count": like_count,
    "view_count": view_count,
  });

  return youtubeVideoEngagement;
}