kotlinx_dart_converter 1.0.6
kotlinx_dart_converter: ^1.0.6 copied to clipboard

Dart native js
Flutter Android iOS web

A package for converting polymorphic Kotlinx JSON to the JSON format supported by Dart using the `built_value` package.

0
likes
90 / 110
pub points
0 %
popularity

We analyzed this package on Jan 22, 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
10 / 20

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

  • 7 out of 11 API elements (63.6 %) 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 7 issues. Showing the first 2:

INFO: Unnecessary new keyword.

lib/src/kotlinx_dart_converter.dart:17:46

   ╷
17 │     Map<String, dynamic> newPolymorphicMap = new Map();
   │                                              ^^^^^^^^^
   ╵

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

INFO: Use isNotEmpty instead of length

lib/src/kotlinx_dart_converter.dart:20:28

   ╷
20 │       if (value is List && value.length > 0) {
   │                            ^^^^^^^^^^^^^^^^
   ╵

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

Support up-to-date dependencies
20 / 20

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

No dependencies.

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

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

0
likes
90
pub points
0%
popularity

A package for converting polymorphic Kotlinx JSON to the JSON format supported by Dart using the `built_value` package.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

tnk.videnskab@gmail.com

License

MIT (LICENSE)

More

Packages that depend on kotlinx_dart_converter