The official Dart library for accessing the Mastodon API. Optionally use in conjunction with mastodon_flutter to build a Flutter Mastodon app.
Mastodon API documentation: https://docs.joinmastodon.org/api
This package is in development. Use in production at your own risk. That said, development is active and most Mastodon features are currently supported.
This library includes a powerful mocking sub-library that lets you quickly build out Mastodon apps using fake data. Once you're ready to use real data, simply switch from the mock library to the real one.
Create an issue, back it with a PR, and tag an active contributor.
Updated example code coming soon