PublicTweetMetrics class

Annotations
  • @freezed

Constructors

PublicTweetMetrics({required int likeCount, required int retweetCount, required int replyCount, required int quoteCount})
const
factory
PublicTweetMetrics.fromJson(Map<String, Object?> json)
factory

Properties

copyWith → $PublicTweetMetricsCopyWith<PublicTweetMetrics>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
likeCount int
Number of Likes of this Tweet.
no setterinherited
quoteCount int
Number of times this Tweet has been Retweeted with a comment (also known as Quote).
no setterinherited
replyCount int
Number of Replies of this Tweet.
no setterinherited
retweetCount int
Number of times this Tweet has been Retweeted.
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