TweetContextAnnotation constructor
- @JsonSerializable(includeIfNull: false)
const
TweetContextAnnotation(
{ - required String id,
- required String name,
- String? description,
})
Implementation
@JsonSerializable(includeIfNull: false)
const factory TweetContextAnnotation({
/// Domain: Contains the numeric value of the domain.
///
/// Entity: Unique value which correlates to an explicitly mentioned Person,
/// Place, Product or Organization
required String id,
/// Domain: Domain name based on the Tweet text.
///
/// Entity: Name or reference of entity referenced in the Tweet.
required String name,
/// Domain: Long form description of domain classification.
///
/// Entity: Additional information regarding referenced entity.
String? description,
}) = _TweetContextAnnotation;