TweetEntitiesV2 class

Provides metadata and additional contextual information about content posted in a tweet.

Annotations
  • @JsonSerializable()

Constructors

TweetEntitiesV2({List<HashtagEntityV2> hashtags = const [], List<CashtagEntityV2> cashtags = const [], List<MentionEntityV2> mentions = const [], List<UrlEntityV2> urls = const []})
const
TweetEntitiesV2.empty()
const
TweetEntitiesV2.fromJson(Map<String, dynamic> json)
factory
TweetEntitiesV2.fromRawJson(String str)
factory

Properties

cashtags List<CashtagEntityV2>
Represents $cashtags, included in the text of the Tweet.
final
hashCode int
The hash code for this object.
no setterinherited
hashtags List<HashtagEntityV2>
Represents hashtags which have been parsed out of the Tweet text.
final
mentions List<MentionEntityV2>
Represents other Twitter users mentioned in the text of the Tweet.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
urls List<UrlEntityV2>
Represents URLs included in the text of a Tweet.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
toV1() TweetEntities

Operators

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