json2dartc 1.0.0 copy "json2dartc: ^1.0.0" to clipboard
json2dartc: ^1.0.0 copied to clipboard

A CLI tool to help generate dart classes from json returned from API

7
likes
30/ 160
pub points
22
downloads

We analyzed this package 2 days ago, and awarded it 30 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Failed report section
Provide documentation
0 / 20trigger folding of the section

Failed check 0/10 points: 20% or more of the public API has dartdoc comments

Dependency resolution failed, unable to run dartdoc.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Failed report section
Platform support
0 / 20trigger folding of the section

Failed check 0/20 points: Platform support detection failed

Could not determine supported platforms as package resolution failed.

Run dart pub get for more information.

Failed check 0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 0/50 points: code has no errors, warnings, lints, or formatting issues

  • Running dart pub outdated failed with the following output:
The lower bound of "sdk: '>=2.10.0 <3.0.0'" must be 2.12.0'
or higher to enable null safety.
copied to clipboard
Failed report section
Support up-to-date dependencies
0 / 40trigger folding of the section

Failed check 0/10 points: All of the package dependencies are supported in the latest version

Sdk constraint doesn't support current Dart version 3.7.2. Cannot run `dart pub outdated`.

pubspec.yaml:7:8

  ╷
7 │   sdk: '>=2.10.0 <3.0.0'
  │        ^^^^^^^^^^^^^^^^^
  ╵
copied to clipboard

Failed check 0/10 points: Package supports latest stable Dart and Flutter SDKs

Sdk constraint doesn't support current Dart version 3.7.2.

pubspec.yaml:7:8

  ╷
7 │   sdk: '>=2.10.0 <3.0.0'
  │        ^^^^^^^^^^^^^^^^^
  ╵
copied to clipboard

Try widening the upper boundary of the constraint.

Failed check 0/20 points: Compatible with dependency constraint lower bounds

dart pub downgrade failed with:

OUT:
Resolving dependencies...
ERR:
The lower bound of "sdk: '>=2.10.0 <3.0.0'" must be 2.12.0'
or higher to enable null safety.

The current Dart SDK (3.7.2) only supports null safety.

For details, see https://dart.dev/null-safety
copied to clipboard

Run dart pub downgrade and then dart analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.22.20, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
Jun 28Jul 26Aug 23Sep 20Oct 18Nov 15Dec 13Jan 10Feb 7Mar 7024681012>=1.0.0-0 <2.0.0
7
likes
30
points
22
downloads

Publisher

unverified uploader

Weekly Downloads

2024.09.13 - 2025.03.28

A CLI tool to help generate dart classes from json returned from API

Repository

License

MIT (license)

Dependencies

args, dart_style, http, json_ast

More

Packages that depend on json2dartc