model_from_json 1.0.0
model_from_json: ^1.0.0 copied to clipboard
A Dart CLI tool that generates Equatable-ready Dart model classes directly from JSON files, with support for nested objects, lists, and automatic fromJson/toJson methods.
We analyzed this package 5 days ago, and awarded it 150 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Homepage URL doesn't exist.
At the time of the analysis https://github.com/<yourusername>/model_from_json was unreachable. Make sure that the website is reachable via HEAD requests.
Repository URL doesn't exist.
At the time of the analysis https://github.com/<yourusername>/model_from_json was unreachable. Make sure that the website is reachable via HEAD requests.
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: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
3 out of 10 API elements (30.0 %) have documentation comments.
Some symbols that are missing documentation: model_from_json, model_from_json.camelToSnake, model_from_json.inferDartType, model_from_json.inferDefaultValue, model_from_json.isCustomModel.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package not compatible with platform Web
Because:
package:model_from_json/model_from_json.dartthat imports:dart:io
50/50 points: code has no errors, warnings, lints, or formatting issues
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
equatable |
^2.0.5 |
2.0.8 | 2.0.8 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
collection |
- | 1.19.1 | 1.19.1 | |
meta |
- | 1.18.1 | 1.18.1 |
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
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.10, Dart 3.11.1.
Check the analysis log for details.