async_value 0.0.1 copy "async_value: ^0.0.1" to clipboard
async_value: ^0.0.1 copied to clipboard

An utility for safely manipulating asynchronous data

2
likes
100/ 140
pub points
0%
popularity

We analyzed this package 4 hours ago, and awarded it 100 pub points (of a possible 140):

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

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: MIT.

OK
Provide documentation
20 / 20trigger folding of the section

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

8 out of 23 API elements (34.8 %) have documentation comments.

Some symbols that are missing documentation: async_value.AsyncData, async_value.AsyncData.AsyncData, async_value.AsyncData.copyWith, async_value.AsyncData.value, async_value.AsyncError.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ macOS
  • ✓ Web
failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 3 issues. Showing the first 2:

WARNING: The parameter type of '==' operators should be non-nullable.

lib/src/state.freezed.dart:125:17

    ╷
125 │   bool operator ==(dynamic other) {
    │                 ^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/state.freezed.dart

WARNING: The parameter type of '==' operators should be non-nullable.

lib/src/state.freezed.dart:228:17

    ╷
228 │   bool operator ==(dynamic other) {
    │                 ^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/state.freezed.dart

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

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

Package Constraint Compatible Latest
freezed_annotation ^0.13.0-nullsafety.0 0.13.0-nullsafety.0 2.4.1
Transitive dependencies
Package Constraint Compatible Latest
collection - 1.18.0 1.18.0
json_annotation - 4.8.1 4.8.1
meta - 1.14.0 1.14.0

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

The constraint `^0.13.0-nullsafety.0` on freezed_annotation does not support the stable version `0.14.0`.

Try running dart pub upgrade --major-versions freezed_annotation to update the constraint.

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

Analyzed with Pana 0.22.3, Dart 3.3.3.

Check the analysis log for details.

2
likes
100
pub points
0%
popularity

Publisher

unverified uploader

An utility for safely manipulating asynchronous data

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

freezed_annotation

More

Packages that depend on async_value