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
90/ 140
pub points
8%
popularity

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

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.

Failed to verify repository URL.

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: rec_api_dart,
    • contains a version property, and,
    • does not contain a publish_to property.

Unable to access git repository: Failed to run remote show origin.

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.

failed
Provide documentation
0 / 20trigger folding of the section

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

130 out of 1135 API elements (11.5 %) 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.

Some symbols that are missing documentation: rec_api_dart, rec_api_dart.Account.REZERO_B2B_ACCESS_GRANTED, rec_api_dart.Account.REZERO_B2B_ACCESS_NOT_GRANTED, rec_api_dart.Account.REZERO_B2B_ACCESS_PENDING, rec_api_dart.Account.SUBTYPE_COMPANY_BMINCOME.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add 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

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:
  • dart:io
partial
Pass static analysis
40 / 50trigger folding of the section

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
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
collection ^1.15.0 1.18.0 1.18.0
dio ^5.0.3 5.4.3+1 5.4.3+1
flutter flutter 0.0.0 0.0.0
flutter_secure_storage ^5.0.2 5.1.2 9.0.0
http ^0.13.4 0.13.6 1.2.1
http_interceptor ^1.0.2 1.0.2 1.0.2
intl ^0.17.0 0.17.0 0.19.0
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
characters - 1.3.0 1.3.0
clock - 1.1.1 1.1.1
flutter_secure_storage_linux - 1.2.0 1.2.0
flutter_secure_storage_macos - 1.1.2 3.0.1
flutter_secure_storage_platform_interface - 1.0.2 1.0.2
flutter_secure_storage_web - 1.1.2 1.1.2
flutter_secure_storage_windows - 1.1.3 3.0.0
flutter_web_plugins - 0.0.0 0.0.0
http_parser - 4.0.2 4.0.2
js - 0.6.7 0.7.1
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.14.0
path - 1.9.0 1.9.0
plugin_platform_interface - 2.1.8 2.1.8
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
vector_math - 2.1.4 2.1.4

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

Found 3 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.

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

Analyzed with Pana 0.22.3, Flutter 3.19.5, Dart 3.3.3.

Check the analysis log for details.

1
likes
90
pub points
8%
popularity

Publisher

verified publisherqbitartifacts.com

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

Repository (GitHub)
View/report issues

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