UserMention class

Annotations
  • @JsonSerializable.new(explicitToJson: true, fieldRename: FieldRename.snake)

Constructors

UserMention()
UserMention.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
idStr ↔ String?
ID of the mentioned user, as a string.
getter/setter pair
indices ↔ List<int>?
An array of integers representing the offsets within the Tweet text where the user reference begins and ends. The first integer represents the location of the @ character of the user mention. The second integer represents the location of the first non-screenname character following the user mention.
getter/setter pair
name ↔ String?
Display name of the referenced user.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
screenName ↔ String?
Screen name of the referenced user.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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