mastodon_dart library

Classes

Account
Represents a user of Mastodon and their associated profile. https://docs.joinmastodon.org/entities/account/
Activity
Represents a weekly bucket of instance activity. https://docs.joinmastodon.org/entities/activity/
Application
Represents an application that interfaces with the REST API to access accounts or post statuses. https://docs.joinmastodon.org/entities/application/
Attachment
Represents a file or media attachment that can be added to a status. https://docs.joinmastodon.org/entities/attachment/
AuthenticatedApplication
Represents an authenticated Application
Card
Represents a rich preview card that is generated using OpenGraph tags from a URL. https://docs.joinmastodon.org/entities/PreviewCard/
Context
Represents the tree around a given status. Used for reconstructing threads of statuses. https://docs.joinmastodon.org/entities/context/
Conversation
Represents a conversation with "direct message" visibility. https://docs.joinmastodon.org/entities/conversation/
Details
Emoji
Represents a custom emoji. https://docs.joinmastodon.org/entities/emoji/
FeaturedTag
Represents a hashtag that is featured on a profile. https://docs.joinmastodon.org/entities/featuredtag/
Field
Represents a profile field as a name-value pair with optional verification. https://docs.joinmastodon.org/entities/field/
Filter
Represents a user-defined filter for determining which statuses should not be shown to the user. https://docs.joinmastodon.org/entities/filter/
Focus
History
Represents daily usage history of a hashtag. https://docs.joinmastodon.org/entities/history/
Instance
Represents the software instance of Mastodon running on required this domain. https://docs.joinmastodon.org/entities/instance/
InstanceStats
Statistics about how much information the instance contains Listed in https://docs.joinmastodon.org/entities/instance/
Marker
Represents the last read position within a user's timelines
Markers
Represents the last read position within a user's timelines. https://docs.joinmastodon.org/entities/Marker/
Mastodon
A Mastodon object that provides access to Mastodon endpoints
Mention
Represents a mention of a user within the content of a status. https://docs.joinmastodon.org/entities/mention/
Meta
Metadata returned by Paperclip. May contain subtrees small and original, as well as various other top-level properties.
Notification
Represents a notification of an event relevant to the user. https://docs.joinmastodon.org/entities/notification/
Option
https://docs.joinmastodon.org/entities/Poll/#Option Represents an option attached to a poll.
Params
https://docs.joinmastodon.org/api/entities/#statusparams
Poll
https://docs.joinmastodon.org/entities/poll/ Represents a poll attached to a status.
PushSubscription
Represents a subscription to the push streaming server. https://docs.joinmastodon.org/entities/push-subscription/
Relationship
Represents the relationship between accounts, such as following / blocking / muting / etc. https://docs.joinmastodon.org/entities/relationship/
Results
Represents the results of a search. https://docs.joinmastodon.org/entities/results/
ScheduledStatus
Represents a status that will be published at a future scheduled date. https://docs.joinmastodon.org/entities/scheduledstatus/
Source
Represents display or publishing preferences of user's own account. Returned as an additional entity when verifying and updated credentials, as an attribute of Account. https://docs.joinmastodon.org/entities/source/
Status
Represents a status posted by an account. https://docs.joinmastodon.org/entities/status/
Tag
Represents a hashtag used within the content of a status. https://docs.joinmastodon.org/entities/tag/
Token
Represents an OAuth token used for authenticating with the API and performing actions. https://docs.joinmastodon.org/entities/token/
UserFollowsList
Represents a list of some users that the authenticated user follows. Cannot be named List because List is reserved in Dart. https://docs.joinmastodon.org/entities/list/
UserPreferences
https://docs.joinmastodon.org/entities/preferences/ Represents a user's preferences.

Enums

AttachmentType
CardType
FilterContext
MediaDefaults
Whether media attachments should be automatically displayed or blurred/hidden.
NotificationType
The type of event that resulted in the notification:
PostingVisibility
Default visibility for new posts.
Visibility
  • public = Visible to everyone, shown in public timelines.
  • unlisted = Visible to public, but not included in public timelines.
  • private = Visible to followers only, and to any mentioned users.
  • direct = Visible only to mentioned users.