Skip to content

MahanRahmati/mastodon-entities

pub.dev

Introduction

This package provides classes for working with Mastodon API entities in Dart.

Features

  • Handles all entity types defined in Mastodon API docs.
  • Provides serialization and deserialization methods for working with entities.

Installation

Add Mastodon Entities as a dependency in your pubspec.yaml:

dependencies:
  mastodon_entities: ^1.1.14+1

Then, run dart pub get to install the package.

Usage

To use Mastodon Entities in your application, simply import the package:

import 'package:mastodon_entities/mastodon_entities.dart';

Differences

Mastodon Mastodon Entities
Context StatusContext
Error MastodonError
List UserList

License

Mastodon Entities is BSD 3-Clause licensed.

Contributing

Contributions are welcome! If you find a bug or want to add a new feature, please open an issue or submit a pull request.