Mention class

Represents a mention of a user within the content of a status. https://docs.joinmastodon.org/entities/mention/

Annotations
  • @JsonSerializable()

Constructors

Mention({required Uri url, required String username, required String acct, required String id})
Mention.fromJson(Map<String, dynamic> json)
factory

Properties

acct String
The webfinger acct: URI of the mentioned user. Equivalent to username for local users, or username@domain for remote users
final
hashCode int
The hash code for this object.
no setterinherited
id String
The account id of the mentioned user
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url Uri
The location of the mentioned user's profile
final
username String
The username of the mentioned user
final

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