MastodonPartialAccount class

Partial account information.

Model representing minimal account information returned by the grouped notifications API. Used when expand_accounts=partial_avatars is specified.

Annotations

Constructors

MastodonPartialAccount({required String id, required String acct, required String url, required String avatar, required String avatarStatic, required bool locked, required bool bot})
const
MastodonPartialAccount.fromJson(Map<String, dynamic> json)
factory

Properties

acct String
Account address (user@domain format).
final
avatar String
URL of the avatar image.
final
avatarStatic String
Static URL of the avatar image (non-animated version).
final
bot bool
Whether the account is a bot.
final
hashCode int
The hash code for this object.
no setterinherited
id String
Account ID.
final
locked bool
Whether the account is locked.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url String
Profile URL of the account.
final

Methods

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

Operators

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