mastodon_entities library

A library that provides classes for working with Mastodon API entities.

To use, import package:mastodon_entities/mastodon_entities.dart.

Classes

Account
Represents a user of Mastodon and their associated profile.
AccountField
AccountsFieldsAttributes
AccountSource
AccountWarning
Moderation warning against a particular account.
AdminAccount
Admin-level information about a given account.
AdminCanonicalEmailBlock
Represents a canonical email block (hashed).
AdminCohort
Represents a retention metric.
AdminDimension
Represents qualitative data about the server.
AdminDimensionData
AdminDomainAllow
Represents a domain allowed to federate.
AdminDomainBlock
Represents a domain limited from federating.
AdminEmailDomainBlock
Represents an email domain that cannot be used to sign up.
AdminEmailDomainBlockHistory
AdminIp
Represents an IP address associated with a user.
AdminIpBlock
Represents an IP address range that cannot be used to sign up.
AdminMeasure
Represents quantitative data about the server.
AdminMeasureData
AdminReport
Admin-level information about a filed report.
AdminTag
Announcement
Represents an announcement set by an administrator.
AnnouncementAccount
AnnouncementStatus
Appeal
Application
Represents an application that interfaces with the REST API to access accounts or post statuses.
CohortData
Conversation
Represents a conversation with "direct message" visibility.
CustomEmoji
Represents a custom emoji.
DomainBlock
Represents a domain that is blocked by the instance.
EncryptedMessage
Represents an encrypted message.
ExtendedDescription
Represents an extended description for the instance, to be shown on its about page.
FamiliarFollowers
Represents a subset of your follows who also follow some other user.
FeaturedTag
Represents a hashtag that is featured on a profile.
FieldsAttribute
Filter
Represents a user-defined filter for determining which statuses should not be shown to the user.
FilterKeyword
Represents a keyword that, if matched, should cause the filter action to be taken.
FilterResult
Represents a filter whose keywords matched a given status.
FilterStatus
Represents a status ID that, if matched, should cause the filter action to be taken.
Instance
Represents the software instance of Mastodon running on this domain.
InstanceActivity
Represents the instance activity
InstanceApiVersion
InstanceConfiguration
InstanceConfigurationAccounts
InstanceConfigurationMediaAttachments
InstanceConfigurationPolls
InstanceConfigurationStatuses
InstanceConfigurationTranslation
InstanceConfigurationUrls
InstanceConfigurationVapid
InstanceContact
InstanceIcon
InstanceRegistrations
InstanceThumbnail
InstanceUsage
InstanceUsageUsers
InstanceVersions
Marker
Represents the last read position within a user's timelines.
Markers
Hash of timeline key and associated Marker.
MastodonError
Represents an error message.
MediaAttachment
Represents a file or media attachment that can be added to a status.
MediaAttachmentMeta
MediaAttachmentMetadata
MediaAttachmentMetaFocus
MediaAttribute
Notification
Represents a notification of an event relevant to the user.
NotificationPolicy
Represents the notification filtering policy of the user.
NotificationPolicySummary
NotificationRequest
Represents a group of filtered notifications from a specific user.
Poll
Represents a poll attached to a status.
PollOption
Preferences
Represents a user's preferences.
PreviewCard
Represents a rich preview card that is generated using OpenGraph tags from a URL.
PreviewCardAuthor
Represents an author in a rich preview card.
Reaction
Represents an emoji reaction to an Announcement.
Relationship
Represents the relationship between accounts, such as following / blocking / muting / etc.
RelationshipSeveranceEvent
Summary of a moderation or block event that caused follow relationships to be severed.
Report
Reports filed against users and/or statuses, to be taken action on by moderators.
Role
Represents a custom user role that grants permissions.
Rule
Represents a rule that server users should follow.
ScheduledStatus
Represents a status that will be published at a future scheduled date.
ScheduledStatusParams
ScheduledStatusPoll
Represents the results of a search.
Status
Represents a status posted by an account.
StatusContext
Represents the tree around a given status. Used for reconstructing threads of statuses.
StatusEdit
Represents a revision of a status that has been edited.
StatusEditPoll
StatusEditPollOption
StatusMention
StatusSource
Represents a status's source as plain text.
StatusTag
Suggestion
Represents a suggested account to follow and an associated reason for the suggestion.
Tag
Represents a hashtag used within the content of a status.
TagHistory
Token
Represents an OAuth token used for authenticating with the API and performing actions.
Translation
Represents the result of machine translating some status content
TranslationAttachment
TranslationPoll
TranslationPollOption
TrendsLinkHistory
UserList
Represents a list of some users that the authenticated user follows.
WebPushSubscription
Represents a subscription to the push streaming server.
WebPushSubscriptionAlerts