Account class
Constructors
Account ({required String id , required String username , required String displayName , required String acct , required String note , required String url , required String avatar , required String avatarStatic , required int followersCount , required int followingCount , int ? subscribingCount , required int statusesCount , required List <Emoji > emojis , required List <Field > fields , @JsonKey(name: 'discoverable') bool ? isDiscoverable , @JsonKey(name: 'locked') bool ? isLocked , @JsonKey(name: 'bot') bool ? isBot , DateTime ? lastStatusAt , required DateTime createdAt })
const
factory
Account.fromJson (Map <String , Object ? > json )
factory
Properties
acct
→ String
The Web finger account URI.
no setter inherited
avatar
→ String
An image icon that is shown next to statuses and in the profile.
no setter inherited
avatarStatic
→ String
A static version of the avatar.
no setter inherited
copyWith
→ $AccountCopyWith<Account >
no setter inherited
createdAt
→ DateTime
When the account was created.
no setter inherited
displayName
→ String
The profile's display name.
no setter inherited
emojis
→ List <Emoji >
Custom emoji entities to be used when rendering the profile.
no setter inherited
fields
→ List <Field >
Additional metadata attached to a profile as name-value pairs.
no setter inherited
followersCount
→ int
An extra attribute that contains source values to be used with API
methods that verify credentials and update credentials.
The reported followers of this profile.
no setter inherited
followingCount
→ int
The reported follows of this profile.
no setter inherited
hashCode
→ int
The hash code for this object.
no setter inherited
An image banner that is shown above the profile and in profile cards.
no setter inherited
A static version of the header.
no setter inherited
id
→ String
The account id.
no setter inherited
isBot
→ bool ?
Indicates that the account may perform automated actions,
may not be monitored, or identifies as a robot.
no setter inherited
isDiscoverable
→ bool ?
Whether the account has opted into discovery features such as the
profile directory.
no setter inherited
isLocked
→ bool ?
Whether the account manually approves follow requests.
no setter inherited
lastStatusAt
→ DateTime ?
When the most recent status was posted.
no setter inherited
note
→ String
The profile's bio / description.
no setter inherited
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
statusesCount
→ int
How many statuses are attached to this account.
no setter inherited
subscribingCount
→ int ?
The reported subscriptions of this profile.
no setter inherited
url
→ String
The url to the profile.
no setter inherited
username
→ String
The username of the account, not including domain.
no setter inherited