PublicTweetMetrics constructor

const PublicTweetMetrics({
  1. required int likeCount,
  2. required int retweetCount,
  3. required int replyCount,
  4. required int quoteCount,
})

Implementation

const factory PublicTweetMetrics({
  /// Number of Likes of this Tweet.
  required int likeCount,

  /// Number of times this Tweet has been Retweeted.
  required int retweetCount,

  /// Number of Replies of this Tweet.
  required int replyCount,

  /// Number of times this Tweet has been Retweeted with a comment
  /// (also known as Quote).
  required int quoteCount,
}) = _PublicTweetMetrics;