rec_api_dart 1.4.5 copy "rec_api_dart: ^1.4.5" to clipboard
rec_api_dart: ^1.4.5 copied to clipboard

Dart/Fluter implementation of the REC Barcelona API. You can carry out any operation and put the recs into circulation.

1
likes
120/ 160
pub points
131
downloads

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

Partially passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Homepage URL doesn't exist.

At the time of the analysis https://github.com/QbitArtifacts/rec_api_dart was unreachable. Make sure that the website is reachable via HEAD requests.

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

130 out of 1149 API elements (11.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: rec_api_dart, rec_api_dart.Account.Account.fromJson, rec_api_dart.Account.Account.new, rec_api_dart.Account.REZERO_B2B_ACCESS_GRANTED, rec_api_dart.Account.REZERO_B2B_ACCESS_NOT_GRANTED.

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

These issues are present but do not affect the score, because they may not originate in your package:

Package not compatible with platform Web

Because:

  • package:rec_api_dart/rec_api_dart.dart that imports:
  • package:rec_api_dart/src/services/wallet/transactions_service.dart that imports:
  • package:rec_api_dart/src/interceptors/user_token_interceptor.dart that imports:
  • package:rec_api_dart/src/auth.dart that imports:
  • package:rec_api_dart/src/storage.dart that imports:
  • package:flutter_secure_storage/flutter_secure_storage.dart that imports:
  • package:flutter_secure_storage_platform_interface/flutter_secure_storage_platform_interface.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:rec_api_dart/rec_api_dart.dart that imports:
  • package:rec_api_dart/src/services/wallet/transactions_service.dart that imports:
  • package:rec_api_dart/src/interceptors/user_token_interceptor.dart that imports:
  • package:rec_api_dart/src/auth.dart that imports:
  • package:rec_api_dart/src/storage.dart that imports:
  • package:flutter_secure_storage/flutter_secure_storage.dart that imports:
  • package:flutter_secure_storage_platform_interface/flutter_secure_storage_platform_interface.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

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

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 54 issues. Showing the first 2:

INFO: The variable name 'STATUS_CREATED' isn't a lowerCamelCase identifier.

lib/src/entities/campaign.ent.dart:4:17

  ╷
4 │   static String STATUS_CREATED = 'created';
  │                 ^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/entities/campaign.ent.dart

INFO: The variable name 'STATUS_ACTIVE' isn't a lowerCamelCase identifier.

lib/src/entities/campaign.ent.dart:5:17

  ╷
5 │   static String STATUS_ACTIVE = 'active';
  │                 ^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/entities/campaign.ent.dart

Failed report section
Support up-to-date dependencies
30 / 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
collection ^1.15.0 1.19.1 1.19.1
dio ^5.0.3 5.8.0+1 5.8.0+1
flutter_secure_storage ^5.0.2 5.1.2 9.2.4
http ^0.13.4 0.13.6 1.4.0
http_interceptor ^1.0.2 1.0.2 2.0.0
intl ^0.17.0 0.17.0 0.20.2
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
dio_web_adapter - 2.1.1 2.1.1
flutter_secure_storage_linux - 1.2.3 2.0.1
flutter_secure_storage_macos - 1.1.2 4.0.0
flutter_secure_storage_platform_interface - 1.1.2 2.0.1
flutter_secure_storage_web - 1.2.1 2.0.0
flutter_secure_storage_windows - 1.1.3 4.0.0
http_parser - 4.1.2 4.1.2
js - 0.6.7 0.7.2 Discontinued
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
path - 1.9.1 1.9.1
plugin_platform_interface - 2.1.8 2.1.8
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
web - 1.1.1 1.1.1

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

Found 4 issues. Showing the first 2:

The constraint `^5.0.2` on flutter_secure_storage does not support the stable version `6.0.0`.

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

The constraint `^0.13.4` on http does not support the stable version `1.0.0`.

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

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

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:
1
likes
120
points
131
downloads

Publisher

verified publisherqbitartifacts.com

Weekly Downloads

Dart/Fluter implementation of the REC Barcelona API. You can carry out any operation and put the recs into circulation.

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

collection, dio, flutter, flutter_secure_storage, http, http_interceptor, intl

More

Packages that depend on rec_api_dart