model_factory 4.14.3
model_factory: ^4.14.3 copied to clipboard
Generate model boiler plate
We analyzed this package 28 hours ago, and awarded it 115 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description field of pubspec.yaml. Use 50 to 180 characters to describe the package, what it does, and its target use case.
0/5 points: Provide a valid README.md
Links in `README.md` should be secure. 1 link is insecure.
README.md:11:49
╷
11 │ <p>Please file feature requests and bugs at the <a href="http://example.com/issues/replaceme">issue tracker</a>.</p>
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
Use https URLs instead.
5/5 points: Provide a valid CHANGELOG.md
0/10 points: Use an OSI-approved license
No license was recognized.
Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.
10/10 points: 20% or more of the public API has dartdoc comments
51 out of 170 API elements (30.0 %) have documentation comments.
Some symbols that are missing documentation: model_factory, model_factory.BoolJsonAdapter, model_factory.BoolJsonAdapter.BoolJsonAdapter.new, model_factory.BoolJsonAdapter.fromJson, model_factory.BoolJsonAdapter.toJson.
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
0/0 points: WASM compatibility
This package is compatible with runtime wasm, and will be rewarded additional points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
- Running
dart formatfailed:
Changed /tmp/pana_IPNUYJ/lib/src/json.dart
Formatted 19 files (1 changed) in 0.05 seconds.
Could not format because the source could not be parsed:
line 9, column 11 of ../../pana_IPNUYJ/example/lib/models/model_custom.dart: This requires the 'generic-metadata' language feature to be enabled.
╷
9 │ @JsonKey<String>('payment', fromJson: _paymentFromJson)
│ ^
╵
line 15, column 11 of ../../pana_IPNUYJ/example/lib/models/model_custom.dart: This requires the 'generic-metadata' language feature to be enabled.```
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
get_it |
^8.0.0 |
8.3.0 | 9.2.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
meta |
- | 1.17.0 | 1.17.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^8.0.0` on get_it does not support the stable version `9.0.0`.
Try running dart pub upgrade --major-versions get_it to update the constraint.
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.5, Dart 3.10.7.
Check the analysis log for details.