ReferencedTweet constructor

const ReferencedTweet({
  1. required String id,
  2. required TweetType type,
})

Implementation

const factory ReferencedTweet({
  /// The unique identifier of the referenced Tweet.
  required String id,

  /// Indicates the type of relationship between this Tweet and the Tweet
  /// returned in the response:
  /// [TweetType.retweeted] (this Tweet is a Retweet),
  /// [TweetType.quoted] (a Retweet with comment, also known as Quoted Tweet),
  /// or [TweetType.repliedTo] (this Tweet is a reply).
  required TweetType type,
}) = _ReferencedTweet;