StatusMention class

Annotations
  • @freezed

Constructors

StatusMention({@JsonKey(name: 'id') String? id, @JsonKey(name: 'username') String? username, @JsonKey(name: 'url') String? url, @JsonKey(name: 'acct') String? acct})
const
factory
StatusMention.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.
no setterinherited
copyWith → $StatusMentionCopyWith<StatusMention>
Create a copy of StatusMention with the given fields replaced by the non-null parameter values.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id String?
The account ID of the mentioned user.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url String?
The location of the mentioned user’s profile.
no setterinherited
username String?
The username of the mentioned user.
no setterinherited

Methods

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

Operators

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