schema_builder 0.2.5
schema_builder: ^0.2.5 copied to clipboard
Generate JSON schemas from Dart classes with ease! Use annotations to define schemas, customize fields, and integrate with APIs.
1
likes
50/ 160
pub points
31
downloads
We analyzed this package 14 hours ago, and awarded it 50 pub points (of a possible 160):
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: MIT.
0/10 points: 20% or more of the public API has dartdoc comments
Dependency resolution failed, unable to run dartdoc.
10/10 points: Package has an example
0/20 points: Platform support detection failed
Could not determine supported platforms as package resolution failed.
Run flutter pub get for more information.
0/50 points: code has no errors, warnings, lints, or formatting issues
- Running
flutter pub outdatedfailed with the following output:
Because source_gen >=2.0.0 <=3.0.0-dev depends on analyzer >=6.9.0 <8.0.0 and analyzer >=6.9.0 <7.3.0 depends on macros >=0.1.3-main.0 <0.1.4, source_gen >=2.0.0 <=3.0.0-dev requires macros >=0.1.3-main.0 <0.1.4 or analyzer ^7.3.0.
And because macros >=0.1.3-main.0 depends on _macros from sdk which doesn't exist (could not find package _macros in the Dart SDK), source_gen >=2.0.0 <=3.0.0-dev requires analyzer ^7.3.0.
0/10 points: All of the package dependencies are supported in the latest version
- Could not run
flutter pub outdated:flutter pub getfailed:
OUT:
Resolving dependencies...
ERR:
Because source_gen >=2.0.0 <=3.0.0-dev depends on analyzer >=6.9.0 <8.0.0 and analyzer >=6.9.0 <7.3.0 depends on macros >=0.1.3-main.0 <0.1.4, source_gen >=2.0.0 <=3.0.0-dev requires macros >=0.1[...]
And because macros >=0.1.3-main.0 depends on _macros from sdk which doesn't exist (could not find package _macros in the Dart SDK), source_gen >=2.0.0 <=3.0.0-dev requires analyzer ^7.3.0.
So, because schema_builder depends on both analyzer ^6.4.1 and source_gen ^2.0.0, version solving failed.
You can try one of the following suggestions to make the pubspec resolve:
* Try upgrading your constraint on analyzer: dart pub add analyzer:^7.7.1
* Consider downgrading your constraint on source_gen: dart pub add source_gen:^1.5.0
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
flutter pub downgrade failed with:
OUT:
Resolving dependencies...
ERR:
Because source_gen >=2.0.0 <=3.0.0-dev depends on analyzer >=6.9.0 <8.0.0 and analyzer >=6.9.0 <7.3.0 depends on macros >=0.1.3-main.0 <0.1.4, source_gen >=2.0.0 <=3.0.0-dev requires macros >=0.1[...]
And because macros >=0.1.3-main.0 depends on _macros from sdk which doesn't exist (could not find package _macros in the Dart SDK), source_gen >=2.0.0 <=3.0.0-dev requires analyzer ^7.3.0.
So, because schema_builder depends on both analyzer ^6.4.1 and source_gen ^2.0.0, version solving failed.
You can try one of the following suggestions to make the pubspec resolve:
* Try upgrading your constraint on analyzer: dart pub add analyzer:^7.3.0
* Consider downgrading your constraint on source_gen: dart pub add source_gen:^1.4.0
Run flutter pub downgrade and then flutter 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.23.10, Flutter 3.41.4, Dart 3.11.1.
Check the analysis log for details.