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

A new Flutter package project.

0
likes
50/ 160
pub points
61
downloads

We analyzed this package 2 days ago, and awarded it 50 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.

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

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

Partially passed check 0/10 points: 20% or more of the public API has dartdoc comments

5 out of 79 API elements (6.3 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: asset, asset.Asset, asset.Asset.Asset.fromJson, asset.Asset.Asset.new, asset.Asset.id.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Failed 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 check 0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

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 26 issues. Showing the first 2:

ERROR: Target of URI hasn't been generated: 'package:messari_api/api/assets_client.g.dart'.

lib/api/assets_client.dart:7:6

  ╷
7 │ part 'assets_client.g.dart';
  │      ^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/api/assets_client.dart

ERROR: The name '_AssetsClient' isn't a type and can't be used in a redirected constructor.

lib/api/assets_client.dart:11:35

   ╷
11 │   factory AssetsClient(Dio dio) = _AssetsClient;
   │                                   ^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/api/assets_client.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
dio ^4.0.4 4.0.6 5.8.0+1
json_annotation ^4.3.0 4.9.0 4.9.0
retrofit ^2.0.1 2.2.0 4.4.2
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
http_parser - 4.1.2 4.1.2
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
path - 1.9.1 1.9.1
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.2.0

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

The constraint `^4.0.4` on dio does not support the stable version `5.0.0`.

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

The constraint `^2.0.1` on retrofit does not support the stable version `3.0.0`.

Try running dart pub upgrade --major-versions retrofit 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 25 errors:

  • URI_HAS_NOT_BEEN_GENERATED - lib/api/assets_client.dart:7:6 - Target of URI hasn't been generated: 'package:messari_api/api/assets_client.g.dart'.
  • REDIRECT_TO_NON_CLASS - lib/api/assets_client.dart:11:35 - The name '_AssetsClient' isn't a type and can't be used in a redirected constructor.
  • URI_HAS_NOT_BEEN_GENERATED - lib/api/exchange_rate_client.dart:7:6 - Target of URI hasn't been generated: 'package:messari_api/api/exchange_rate_client.g.dart'.

Run flutter pub downgrade and then flutter 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.21, Flutter 3.32.4, Dart 3.8.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
50
points
61
downloads

Publisher

unverified uploader

Weekly Downloads

A new Flutter package project.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

dio, flutter, json_annotation, retrofit

More

Packages that depend on messari_api