create static method

MediaDataManifest create({
  1. String? special_type,
  2. String? audio_codec,
  3. int? framerate,
  4. String? video_codec,
  5. String? video_quality,
  6. int? height,
  7. int? width,
  8. int? bitrate,
  9. String? mime_type,
  10. String? container_name,
  11. bool? is_throttled,
  12. String? quality,
  13. int? size,
  14. int? tag,
  15. String? video_from,
  16. String? video_data,
  17. String? url,
})
override

return original data json

Implementation

static MediaDataManifest create({
  String? special_type,
  String? audio_codec,
  int? framerate,
  String? video_codec,
  String? video_quality,
  int? height,
  int? width,
  int? bitrate,
  String? mime_type,
  String? container_name,
  bool? is_throttled,
  String? quality,
  int? size,
  int? tag,
  String? video_from,
  String? video_data,
  String? url,
}) {
  MediaDataManifest mediaDataManifest = MediaDataManifest({
    "@type": special_type,
    "audio_codec": audio_codec,
    "framerate": framerate,
    "video_codec": video_codec,
    "video_quality": video_quality,
    "height": height,
    "width": width,
    "bitrate": bitrate,
    "mime_type": mime_type,
    "container_name": container_name,
    "is_throttled": is_throttled,
    "quality": quality,
    "size": size,
    "tag": tag,
    "video_from": video_from,
    "video_data": video_data,
    "url": url,
  });

  return mediaDataManifest;
}