jaguar_serializer 2.2.12
jaguar_serializer: ^2.2.12 copied to clipboard

Dart native js
Flutter Android iOS Linux macOS web Windows

Platform and format agnostic serializer built using source_gen

7
likes
90 / 110
pub points
90 %
popularity

We analyzed this package on Feb 25, 2021, and awarded it 90 pub points (of a possible 110):

Follow Dart file conventions
20 / 20

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
20 / 20

10/10 points: Package has an example

  • Found example at: example/example.dart

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

  • 89 out of 184 API elements (48.4 %) have documentation comments.
Support multiple platforms
20 / 20

20/20 points: Supports 2 of 2 possible platforms (native, js)

Pass static analysis
20 / 30

20/30 points: code has no errors, warnings, lints, or formatting issues

Found 40 issues. Showing the first 2:

INFO: Prefer using /// for doc comments.

lib/jaguar_serializer.dart:1:1

   ╷
1  │ ┌ /**
2  │ │  * Jaguar Serializer Library
3  │ │  *
4  │ │  * Contains API to create Serializers.
5  │ │  *
6  │ │  * - [Serializer]
7  │ │  * - [GenSerializer]
8  │ │  * - [EncodeOnly]
9  │ │  * - [DecodeOnly]
10 │ │  * - [EnDecode]
11 │ │  * - [Ignore]
12 │ │  * - [FieldProcessor]
13 │ │  * - [SerializerRepo]
14 │ │  * - [JsonRepo]
15 │ │  * - [YamlRepo]
16 │ └  */
   ╵

To reproduce make sure you are using pedantic and run dartanalyzer lib/jaguar_serializer.dart

INFO: Use `=` to separate a named parameter from its default value.

lib/src/annotations/annotations.dart:46:19

   ╷
46 │       {this.fields: const <String, Field>{},
   │                   ^
   ╵

To reproduce make sure you are using pedantic and run dartanalyzer lib/src/annotations/annotations.dart

Support up-to-date dependencies
10 / 20

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

  • Could not run pub outdated: pub get failed:
Because jaguar_serializer depends on jaguar_serializer_cli from path which doesn't exist (could not find package jaguar_serializer_cli at "../serializer_cli"), version solving failed.

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

Analysed with Pana 0.14.10, Dart 2.10.5.