mastodon_entities 1.1.1 mastodon_entities: ^1.1.1 copied to clipboard
This package provides classes for working with Mastodon API entities in Dart.
We analyzed this package 2 days ago, and awarded it 120 pub points (of a possible 140):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: BSD-3-Clause
.
10/10 points: 20% or more of the public API has dartdoc comments
536 out of 978 API elements (54.8 %) have documentation comments.
Some symbols that are missing documentation: mastodon_entities.Account.copyWith
, mastodon_entities.Account.Account.fromJson
, mastodon_entities.Account.toJson
, mastodon_entities.AccountField
, mastodon_entities.AccountField.AccountField
.
10/10 points: Package has an example
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Android
- ✓ iOS
- ✓ Windows
- ✓ Linux
- ✓ macOS
- ✓ Web
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 493 issues. Showing the first 2:
WARNING: The annotation 'JsonKey' can only be used on fields or getters.
lib/src/entities/account.dart:15:6
╷
15 │ @JsonKey(name: 'id') final String? id,
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/entities/account.dart
WARNING: The annotation 'JsonKey' can only be used on fields or getters.
lib/src/entities/account.dart:18:6
╷
18 │ @JsonKey(name: 'username') final String? username,
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/entities/account.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
freezed_annotation |
^2.4.1 |
2.4.1 | 2.4.1 |
json_annotation |
^4.9.0 |
4.9.0 | 4.9.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
collection |
- | 1.18.0 | 1.18.0 |
meta |
- | 1.14.0 | 1.14.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
10/10 points: Package supports latest stable Dart and Flutter SDKs
Analyzed with Pana 0.22.3
, Dart 3.3.4
.
Check the analysis log for details.