bookgmt_api_package 0.7.3
bookgmt_api_package: ^0.7.3 copied to clipboard
A booking app API (Application Programming Interface) is a set of rules and protocols that defines how two or more systems can interact with each other.
We analyzed this package 26 hours ago, and awarded it 140 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://packages.bookgmt.com 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
304 out of 623 API elements (48.8 %) have documentation comments.
Some symbols that are missing documentation: bookgmt_api_package, bookgmt_api_package.AccountType, bookgmt_api_package.AdditionalCost.AdditionalCost.fromJson, bookgmt_api_package.AdditionalCost.AdditionalCost.new, bookgmt_api_package.AdditionalCost.name.
10/10 points: Package has an example
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ macOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:bookgmt_api_package/bookgmt_api_package.dartthat imports:package:bookgmt_api_package/src/models/index.dartthat imports:package:bookgmt_api_package/src/request_handler/index.dartthat imports:package:sqflite/sqflite.dartthat declares support for platforms:Android,iOS,macOS.
Package does not support platform `Linux`.
Because:
package:bookgmt_api_package/bookgmt_api_package.dartthat imports:package:bookgmt_api_package/src/models/index.dartthat imports:package:bookgmt_api_package/src/request_handler/index.dartthat imports:package:sqflite/sqflite.dartthat declares support for platforms:Android,iOS,macOS.
Package does not support platform `Web`.
Because:
package:bookgmt_api_package/bookgmt_api_package.dartthat imports:package:bookgmt_api_package/src/models/index.dartthat imports:package:bookgmt_api_package/src/request_handler/index.dartthat imports:package:sqflite/sqflite.dartthat declares support for platforms:Android,iOS,macOS.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 5 issues. Showing the first 2:
INFO: Missing type annotation.
lib/bookgmt_api_package.dart:15:1
╷
15 │ initBookgmtApiPackage(String apiBaseUrl,
│ ^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/bookgmt_api_package.dart
INFO: Missing type annotation.
lib/src/request_handler/index.dart:86:28
╷
86 │ Future storeKeyValue(final key, final value) async {
│ ^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/request_handler/index.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
dio |
^4.0.6 |
4.0.6 | 5.9.2 | |
http_parser |
^4.0.0 |
4.1.2 | 4.1.2 | |
sqflite |
^2.2.2 |
2.4.2 | 2.4.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.2 | |
path |
- | 1.9.1 | 1.9.1 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
source_span |
- | 1.10.2 | 1.10.2 | |
sqflite_android |
- | 2.4.2+3 | 2.4.2+3 | |
sqflite_common |
- | 2.5.6 | 2.5.6 | |
sqflite_darwin |
- | 2.4.2 | 2.4.2 | |
sqflite_platform_interface |
- | 2.4.0 | 2.4.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 | |
vector_math |
- | 2.2.0 | 2.3.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^4.0.6` on dio does not support the stable version `5.0.0`.
Try running dart pub upgrade --major-versions dio to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.11, Flutter 3.41.4, Dart 3.11.1.
Check the analysis log for details.