messages_serializer 0.2.0 messages_serializer: ^0.2.0 copied to clipboard
Serialization of messages for package:messages.
We analyzed this package 6 days ago, and awarded it 60 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description
field of pubspec.yaml
. Use 60 to 180 characters to describe the package, what it does, and its target use case.
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: BSD-3-Clause
.
10/10 points: 20% or more of the public API has dartdoc comments
6 out of 19 API elements (31.6 %) have documentation comments.
Some symbols that are missing documentation: messages_serializer.JsonSerializer
, messages_serializer.JsonSerializer.JsonSerializer
, messages_serializer.JsonSerializer.addMessage
, messages_serializer.JsonSerializer.encodeMessage
, messages_serializer.JsonSerializer.result
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Android
- ✓ iOS
- ✓ Windows
- ✓ Linux
- ✓ macOS
- ✓ Web
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 5 issues. Showing the first 2:
ERROR: Undefined name 'PluralMarker'.
lib/src/serializer_json.dart:137:23
╷
137 │ caseIndices.add(PluralMarker.few);
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/serializer_json.dart
ERROR: Undefined name 'PluralMarker'.
lib/src/serializer_json.dart:141:23
╷
141 │ caseIndices.add(PluralMarker.many);
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/serializer_json.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
messages |
^0.1.0 |
0.1.1 | 0.2.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
clock |
- | 1.1.1 | 1.1.1 |
collection |
- | 1.19.0 | 1.19.0 |
intl |
- | 0.18.1 | 0.19.0 |
meta |
- | 1.15.0 | 1.15.0 |
path |
- | 1.9.0 | 1.9.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^0.1.0` on messages does not support the stable version `0.2.0`.
Try running dart pub upgrade --major-versions messages
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 5 errors:
UNDEFINED_IDENTIFIER
-lib/src/serializer_json.dart:137:23
- Undefined name 'PluralMarker'.UNDEFINED_IDENTIFIER
-lib/src/serializer_json.dart:141:23
- Undefined name 'PluralMarker'.UNDEFINED_GETTER
-lib/src/serializer_json.dart:145:20
- The getter 'numberCases' isn't defined for the type 'PluralMessage'.
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.22.7
, Dart 3.4.3
.
Check the analysis log for details.