OrganicTweetMetrics class

Annotations
  • @freezed

Constructors

OrganicTweetMetrics({required int impressionCount, required int likeCount, required int retweetCount, required int replyCount, @JsonKey(name: 'user_profile_clicks') required int profileClickCount, @JsonKey(name: 'url_link_clicks') int? linkClickCount})
const
factory
OrganicTweetMetrics.fromJson(Map<String, Object?> json)
factory

Properties

copyWith → $OrganicTweetMetricsCopyWith<OrganicTweetMetrics>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
impressionCount int
A count of how many times the Tweet has been viewed (not unique by user). A view is counted if any part of the Tweet is visible on the screen.
no setterinherited
likeCount int
A count of how many times the Tweet has been liked.
no setterinherited
linkClickCount int?
A count of the number of times a user clicks on a URL link or URL preview card in a Tweet.
no setterinherited
profileClickCount int
A count of the number of times a user clicks the following portions of a Tweet: display name, user name, profile picture.
no setterinherited
replyCount int
A count of how many times the Tweet has been replied to.
no setterinherited
retweetCount int
A count of how many times the Tweet has been Retweeted. Please note: This does not include Quote Tweets.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited