mastodon_entities 1.1.14+1 copy "mastodon_entities: ^1.1.14+1" to clipboard
mastodon_entities: ^1.1.14+1 copied to clipboard

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

example/main.dart

// ignore_for_file: avoid_print

import 'package:mastodon_entities/mastodon_entities.dart';

void main() {
  final Map<String, dynamic> json = <String, dynamic>{
    'name': 'test app',
    'website': null,
  };
  final Application application = Application.fromJson(json);
  print(application.name);
}
0
likes
140
pub points
43%
popularity

Publisher

unverified uploader

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

Repository (GitHub)
View/report issues

Topics

#mastodon #entities

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

freezed_annotation, json_annotation

More

Packages that depend on mastodon_entities