This package provides classes for working with Mastodon API entities in Dart.
- Handles all entity types defined in Mastodon API docs.
- Provides serialization and deserialization methods for working with entities.
Add Mastodon Entities as a dependency in your pubspec.yaml:
dependencies:
mastodon_entities: ^1.1.15Then, run dart pub get to install the package.
To use Mastodon Entities in your application, simply import the package:
import 'package:mastodon_entities/mastodon_entities.dart';| Mastodon | Mastodon Entities |
|---|---|
| Context | StatusContext |
| Error | MastodonError |
| List | UserList |
Mastodon Entities is BSD 3-Clause licensed.
Contributions are welcome! If you find a bug or want to add a new feature, please open an issue or submit a pull request.