kotlinx_dart_converter 1.0.6
kotlinx_dart_converter: ^1.0.6 copied to clipboard
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):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
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.
20/20 points: Supports 2 of 2 possible platforms (native, js)
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
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
.