d_serializer 1.1.1 copy "d_serializer: ^1.1.1" to clipboard
d_serializer: ^1.1.1 copied to clipboard

Static JSON serializer with annotation-based generation for Dart

70/ 160
pub points
97
downloads

We analyzed this package 38 hours ago, and awarded it 70 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.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

35 out of 49 API elements (71.4 %) have documentation comments.

Some symbols that are missing documentation: example_user, example_user.ExampleStatus, example_user.ExampleUser, example_user.ExampleUser.ExampleUser.new, example_user.ExampleUser.age.

Passed check 10/10 points: Package has an example

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

Failed check 0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

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

Found 3 issues. Showing the first 2:

ERROR: Target of URI hasn't been generated: 'package:d_serializer/example_user.g.dart'.

lib/example_user.dart:3:6

  ╷
3 │ part 'example_user.g.dart';
  │      ^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/example_user.dart

INFO: Dangling library doc comment.

lib/annotations/annotations.dart:1:1

  ╷
1 │ /// Annotation exports used by generated serializers.
  │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/annotations/annotations.dart

Failed report section
Support up-to-date dependencies
20 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
meta ^1.12.0 1.18.2 1.18.2

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

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

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

downgrade analysis failed failed with 1 error:

  • URI_HAS_NOT_BEEN_GENERATED - lib/example_user.dart:3:6 - Target of URI hasn't been generated: 'package:d_serializer/example_user.g.dart'.

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.23.12, Dart 3.12.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
70
points
97
downloads

Documentation

API reference

Publisher

verified publishertorogoz.tech

Weekly Downloads

Static JSON serializer with annotation-based generation for Dart

Repository (GitHub)
View/report issues

Topics

#serialization #json #codegen

License

MIT (license)

Dependencies

meta

More

Packages that depend on d_serializer