billing_service 0.0.2
billing_service: ^0.0.2 copied to clipboard
MyCS billing management service module
We analyzed this package 34 hours ago, and awarded it 110 pub points (of a possible 160):
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.
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: GPL-3.0.
10/10 points: 20% or more of the public API has dartdoc comments
48 out of 142 API elements (33.8 %) 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.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
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.dartthat imports:package:billing_service/provider/provider_events.dartthat imports:package:app_framework_component/app_framework.dartthat imports:package:app_framework_component/bloc/storage.dartthat imports:package:flutter_secure_storage/flutter_secure_storage.dartthat imports:package:flutter_secure_storage_platform_interface/flutter_secure_storage_platform_interface.dartthat imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:billing_service/billing_service.dartthat imports:package:billing_service/provider/provider_events.dartthat imports:package:app_framework_component/app_framework.dartthat imports:package:app_framework_component/bloc/storage.dartthat imports:package:flutter_secure_storage/flutter_secure_storage.dartthat imports:package:flutter_secure_storage_platform_interface/flutter_secure_storage_platform_interface.dartthat 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.cn/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
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_SCOLER/lib/model/billing.dart doesn't match the Dart formatter.
To format your files run: dart format .
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.1.0 | 9.1.0 | |
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.3.0 | 9.0.5 | |
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.9.0 | 4.9.0 | |
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.7 | 3.0.7 | |
dart_jsonwebtoken |
- | 3.3.1 | 3.3.1 | |
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.15.1 | 2.15.1 | |
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.20 | 2.2.20 | |
path_provider_foundation |
- | 2.4.3 | 2.4.3 | |
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 | |
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.2 | 4.5.2 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
win32 |
- | 5.15.0 | 5.15.0 | |
xdg_directories |
- | 1.1.0 | 1.1.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^8.0.3` on get_it does not support the stable version `9.0.0`, that was published 2 days ago.
When get_it is 30 days old, this package will no longer be awarded points in this category.
Try running dart pub upgrade --major-versions get_it to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
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.23.0, Flutter 3.35.7, Dart 3.9.2.
Check the analysis log for details.