mastodon library Null safety
This library provides a single interesting class Mastodon which gives easy access to the Mastodon API.
Classes
- Account
- User account.
- Attachment
- An attachment.
- Mastodon
- Simple API to allow access to a Mastodon server.
- Mention
- A mention.
- Notification
- A notification.
- Post
- A helper class to create a new status for posting.
- Relationship
- A relationship.
- Report
- Admin's response to a report of another user.
- Status
- A posted update.
- Tag
- A tag.
- TimelineRequest
-
A helper class for creating new
getTimeline
requests.
Extensions
- extensionOtherAccountActions
- Updates to other accounts and relationships.
- extensionOtherAccounts
- Get information about other accounts.
- extensionServerInfo
- Get information for this account.
- extensionSingleStatus
- Get information about a single Status.
- extensionStatusUpdates
- Create new Statuses (Posts) and make updates.
- extensionThisAccount
- Get information for this account.
Exceptions / Errors
- MastodonAPIError
- Capture some obvious errors.
- MastodonIllegalArgumentError
- Capture some obvious misuses.