PrivateMediaMetrics constructor

const PrivateMediaMetrics({
  1. @JsonKey(name: 'playback_0_count') required int playback0Count,
  2. @JsonKey(name: 'playback_25_count') required int playback25Count,
  3. @JsonKey(name: 'playback_50_count') required int playback50Count,
  4. @JsonKey(name: 'playback_75_count') required int playback75Count,
  5. @JsonKey(name: 'playback_100_count') required int playback100Count,
})

Implementation

const factory PrivateMediaMetrics({
  /// 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,
}) = _PrivateMediaMetrics;