billing_service 0.0.3 copy "billing_service: ^0.0.3" to clipboard
billing_service: ^0.0.3 copied to clipboard

MyCS billing management service module

110/ 160
pub points
210
downloads

We analyzed this package 31 hours ago, and awarded it 110 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.

Homepage URL doesn't exist.

At the time of the analysis https://github.com/appbricks/mycloudspace/tree/main/libs/shared/service/flutter/billing 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: GPL-3.0.

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

51 out of 175 API elements (29.1 %) have documentation comments.

Some symbols that are missing documentation: billing, billing_api_types, billing_api_types.StripeCheckoutRequest, billing_api_types.StripeCheckoutRequest.StripeCheckoutRequest.fromJson, billing_api_types.StripeCheckoutRequest.StripeCheckoutRequest.new.

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:billing_service/billing_service.dart that imports:
  • package:billing_service/provider/provider_events.dart that imports:
  • package:app_framework_component/app_framework.dart that imports:
  • package:app_framework_component/bloc/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:billing_service/billing_service.dart that imports:
  • package:billing_service/provider/provider_events.dart that imports:
  • package:app_framework_component/app_framework.dart that imports:
  • package:app_framework_component/bloc/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 3 issues. Showing the first 2:

INFO: Missing type annotation.

lib/provider/provider_events.dart:13:7

   ╷
13 │   get message => _message ?? (super.error as AppException).message;
   │       ^^^^^^^
   ╵

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

/tmp/pana_NEVUJD/lib/l10n/billing_localizations.dart doesn't match the Dart formatter.

To format your files run: dart format .

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

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

Package Constraint Compatible Latest Notes
app_framework_component any 0.0.31 0.0.31
bloc ^9.0.0 9.0.1 9.0.1
dio ^5.8.0+1 5.9.0 5.9.0
equatable ^2.0.5 2.0.7 2.0.7
get_it ^8.0.3 8.2.0 8.2.0
intl ^0.20.2 0.20.2 0.20.2
json_annotation ^4.8.1 4.9.0 4.9.0
logging ^1.2.0 1.3.0 1.3.0
retrofit >=4.0.0 <5.0.0 4.7.2 4.7.2
utilities_ab any 0.0.7 0.0.7
Transitive dependencies
Package Constraint Compatible Latest Notes
adaptive_number - 1.0.0 1.0.0
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
dart_jsonwebtoken - 3.2.0 3.2.0
dio_web_adapter - 2.1.1 2.1.1
ed25519_edwards - 0.3.1 0.3.1
ffi - 2.1.4 2.1.4
fixnum - 1.1.1 1.1.1
flutter_bloc - 9.1.1 9.1.1
flutter_secure_storage - 9.2.4 9.2.4
flutter_secure_storage_linux - 1.2.3 2.0.1
flutter_secure_storage_macos - 3.1.3 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 - 3.1.2 4.0.0
hive_ce - 2.13.2 2.13.2
http_parser - 4.1.2 4.1.2
hydrated_bloc - 10.1.1 10.1.1
isolate_channel - 0.2.2+1 0.2.2+1
js - 0.6.7 0.7.2 Discontinued
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
mime - 2.0.0 2.0.0
nested - 1.0.0 1.0.0
path - 1.9.1 1.9.1
path_provider - 2.1.5 2.1.5
path_provider_android - 2.2.18 2.2.18
path_provider_foundation - 2.4.2 2.4.2
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
pointycastle - 4.0.0 4.0.0
provider - 6.1.5+1 6.1.5+1
source_span - 1.10.1 1.10.1
sprintf - 7.0.0 7.0.0
string_scanner - 1.4.1 1.4.1
synchronized - 3.4.0 3.4.0
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
uuid - 4.5.1 4.5.1
vector_math - 2.2.0 2.2.0
web - 1.1.1 1.1.1
win32 - 5.14.0 5.14.0
xdg_directories - 1.1.0 1.1.0

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

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 2 errors:

  • UNDEFINED_CLASS - lib/provider/user_space_billing_api.dart:13:5 - Undefined class 'ParseErrorLogger'.
  • UNDEFINED_CLASS - lib/provider/user_space_billing_api.g.dart:18:9 - Undefined class 'ParseErrorLogger'.

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.23, Flutter 3.35.4, Dart 3.9.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
110
points
210
downloads

Publisher

unverified uploader

Weekly Downloads

MyCS billing management service module

Homepage

Documentation

API reference

License

GPL-3.0 (license)

Dependencies

app_framework_component, bloc, dio, equatable, flutter, flutter_localizations, get_it, intl, json_annotation, logging, retrofit, utilities_ab

More

Packages that depend on billing_service