Mention class

Annotations
  • @freezed

Constructors

Mention({String? id, required String username, required int start, required int end})
const
factory
Mention.fromJson(Map<String, Object?> json)
factory

Properties

copyWith → $MentionCopyWith<Mention>
no setterinherited
end int
The end position (zero-based) of the recognized user mention within t he Tweet. This end index is exclusive.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id String?
The user id that created the mentions.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
start int
The start position (zero-based) of the recognized user mention within the Tweet. All start indices are inclusive.
no setterinherited
username String
The part of text recognized as a user mention.
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