messages_serializer 0.2.0 copy "messages_serializer: ^0.2.0" to clipboard
messages_serializer: ^0.2.0 copied to clipboard

Serialization of messages for package:messages.

60/ 160
pub points
87
downloads

We analyzed this package 2 days ago, and awarded it 60 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
20 / 30trigger folding of the section

Failed check 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 50 to 180 characters to describe the package, what it does, and its target use case.

Failed to verify repository URL.

pkgs/messages_serializer/pubspec.yaml from the repository defines publish_to, thus, we are unable to verify the package is published from here.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: messages_serializer,
    • contains a version property, and,
    • does not contain a publish_to property.

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: BSD-3-Clause.

Failed report section
Provide documentation
10 / 20trigger folding of the section

Passed check 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.new, messages_serializer.JsonSerializer.addMessage, messages_serializer.JsonSerializer.encodeMessage, messages_serializer.JsonSerializer.result.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Passed report section
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

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 7 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

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

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

Package Constraint Compatible Latest Notes
messages ^0.1.0 0.1.1 0.2.0
Transitive dependencies
Package Constraint Compatible Latest Notes
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
intl - 0.18.1 0.20.2
meta - 1.17.0 1.17.0
path - 1.9.1 1.9.1

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.

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 7 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.23.3, Dart 3.10.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
60
points
87
downloads

Publisher

verified publisherlabs.dart.dev

Weekly Downloads

Serialization of messages for package:messages.

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

messages

More

Packages that depend on messages_serializer