OrganicMediaMetrics constructor
const
OrganicMediaMetrics({
- @JsonKey(name: 'playback_0_count') required int playback0Count,
- @JsonKey(name: 'playback_25_count') required int playback25Count,
- @JsonKey(name: 'playback_50_count') required int playback50Count,
- @JsonKey(name: 'playback_75_count') required int playback75Count,
- @JsonKey(name: 'playback_100_count') required int playback100Count,
- required int viewCount,
Implementation
const factory OrganicMediaMetrics({
/// The number of users who played through to each quartile in a video.
///
/// This reflects the number of quartile views across all Tweets in which
/// the given video has been posted.
@JsonKey(name: 'playback_0_count') required int playback0Count,
/// The number of users who played through to each quartile in a video.
///
/// This reflects the number of quartile views across all Tweets in which
/// the given video has been posted.
@JsonKey(name: 'playback_25_count') required int playback25Count,
/// The number of users who played through to each quartile in a video.
///
/// This reflects the number of quartile views across all Tweets in which
/// the given video has been posted.
@JsonKey(name: 'playback_50_count') required int playback50Count,
/// The number of users who played through to each quartile in a video.
///
/// This reflects the number of quartile views across all Tweets in which
/// the given video has been posted.
@JsonKey(name: 'playback_75_count') required int playback75Count,
/// The number of users who played through to each quartile in a video.
///
/// This reflects the number of quartile views across all Tweets in which
/// the given video has been posted.
@JsonKey(name: 'playback_100_count') required int playback100Count,
/// A count of how many times the video included in the Tweet has been
/// viewed.
///
/// This is the number of video views aggregated across all Tweets in which
/// the given video has been posted. That means that the metric includes
/// the combined views from any instance where the video has been Retweeted
/// or re-posted in separate Tweets.
required int viewCount,
}) = _OrganicMediaMetrics;