lenco_flutter 1.0.0
lenco_flutter: ^1.0.0 copied to clipboard
A production-ready Flutter package for integrating Lenco payment gateway. Support for accounts, transactions, payments, and mobile money.
We analyzed this package 5 days ago, and awarded it 70 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Homepage URL doesn't exist.
At the time of the analysis https://wamunyimamukelabai.vercel.app/ was unreachable. Make sure that the website is reachable via HEAD requests.
Documentation URL doesn't exist.
At the time of the analysis https://wamunyimamukelabai.vercel.app/ 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: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
71 out of 163 API elements (43.6 %) have documentation comments.
Some symbols that are missing documentation: lenco_flutter.AccountService.AccountService.new, lenco_flutter.Bank.Bank.fromJson, lenco_flutter.Bank.Bank.new, lenco_flutter.Bank.code, lenco_flutter.Bank.name.
10/10 points: Package has an example
0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 15 issues. Showing the first 2:
ERROR: Target of URI hasn't been generated: 'package:lenco_flutter/src/models/api_response.g.dart'.
lib/src/models/api_response.dart:4:6
╷
4 │ part 'api_response.g.dart';
│ ^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/models/api_response.dart
ERROR: The method '_$LencoApiResponseFromJson' isn't defined for the type 'LencoApiResponse'.
lib/src/models/api_response.dart:27:7
╷
27 │ _$LencoApiResponseFromJson(json, fromJsonT);
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/models/api_response.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
equatable |
^2.0.5 |
2.0.8 | 2.0.8 | |
http |
^1.1.0 |
1.6.0 | 1.6.0 | |
json_annotation |
^4.8.1 |
4.11.0 | 4.11.0 | |
meta |
^1.9.1 |
1.17.0 | 1.18.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.1 | 2.13.1 | |
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
path |
- | 1.9.1 | 1.9.1 | |
source_span |
- | 1.10.2 | 1.10.2 | |
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.2.0 | 2.3.0 | |
web |
- | 1.1.1 | 1.1.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
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 15 errors:
URI_HAS_NOT_BEEN_GENERATED-lib/src/models/api_response.dart:4:6- Target of URI hasn't been generated: 'package:lenco_flutter/src/models/api_response.g.dart'.UNDEFINED_METHOD-lib/src/models/api_response.dart:27:7- The method '_$LencoApiResponseFromJson' isn't defined for the type 'LencoApiResponse'.UNDEFINED_METHOD-lib/src/models/api_response.dart:33:7- The method '_$LencoApiResponseToJson' isn't defined for the type 'LencoApiResponse'.
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.12, Flutter 3.41.4, Dart 3.11.1.
Check the analysis log for details.