AnnouncementAccount class

Annotations
  • @freezed

Constructors

AnnouncementAccount({required String id, required String username, required String url, @JsonKey(name: 'acct') required String webFingerAccountUri})
const
factory
AnnouncementAccount.fromJson(Map<String, Object?> json)
factory

Properties

copyWith → $AnnouncementAccountCopyWith<AnnouncementAccount>
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
webFingerAccountUri String
The web finger acct: URI of the mentioned user. Equivalent to username for local users, or username@domain for remote users.
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