PrivateTweetMetrics class

Annotations
  • @freezed

Constructors

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

Properties

copyWith → $PrivateTweetMetricsCopyWith<PrivateTweetMetrics>
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
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
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