MentionEntityV2 class

Represents other Twitter users mentioned in the text of the Tweet.

Inheritance
Annotations
  • @JsonSerializable()

Constructors

MentionEntityV2({required String username, required int start, required int end})
const
MentionEntityV2.fromJson(Map<String, dynamic> json)
factory
MentionEntityV2.fromRawJson(String str)
factory

Properties

end int
finalinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
start int
finalinherited
username String
Username of the referenced user.
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() MentionEntity

Operators

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