bond_network 0.0.5 bond_network: ^0.0.5 copied to clipboard
Network is a Bond package provides a convenient way to handle API response.
We analyzed this package 25 hours ago, and awarded it 105 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
0/5 points: Provide a valid README.md
`README.md` is empty.
The README.md
file should inform others about your project, what it does, and how they can use it. Check out the guidelines on Writing great package pages.
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
52 out of 172 API elements (30.2 %) have documentation comments.
Some symbols that are missing documentation: bond_network
, bond_network.Api
, bond_network.Api.Api
, bond_network.Api.extraHeaders
, bond_network.Api.headers
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package not compatible with platform Web
Because:
package:bond_network/bond_network.dart
that imports:package:bond_network/src/bond_fire.dart
that imports:package:bond_network/src/bond_fire/bond_fire.dart
that imports:package:bond_network/src/bond_fire/base_bond_api_request.dart
that imports:dart:io
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Android`.
Because:
package:bond_network/bond_network.dart
that imports:package:bond_network/src/api.dart
that imports:package:package_info_plus/package_info_plus.dart
that imports:package:package_info_plus/src/package_info_plus_windows.dart
that imports:package:package_info_plus/src/file_version_info.dart
that imports:package:win32/win32.dart
that declares support for platforms:Windows
.
Package does not support platform `iOS`.
Because:
package:bond_network/bond_network.dart
that imports:package:bond_network/src/api.dart
that imports:package:package_info_plus/package_info_plus.dart
that imports:package:package_info_plus/src/package_info_plus_windows.dart
that imports:package:package_info_plus/src/file_version_info.dart
that imports:package:win32/win32.dart
that declares support for platforms:Windows
.
Package does not support platform `Linux`.
Because:
package:bond_network/bond_network.dart
that imports:package:bond_network/src/api.dart
that imports:package:package_info_plus/package_info_plus.dart
that imports:package:package_info_plus/src/package_info_plus_windows.dart
that imports:package:package_info_plus/src/file_version_info.dart
that imports:package:win32/win32.dart
that declares support for platforms:Windows
.
Package does not support platform `macOS`.
Because:
package:bond_network/bond_network.dart
that imports:package:bond_network/src/api.dart
that imports:package:package_info_plus/package_info_plus.dart
that imports:package:package_info_plus/src/package_info_plus_windows.dart
that imports:package:package_info_plus/src/file_version_info.dart
that imports:package:win32/win32.dart
that declares support for platforms:Windows
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:bond_network/bond_network.dart
that imports:package:bond_network/src/bond_fire.dart
that imports:package:bond_network/src/bond_fire/bond_fire.dart
that imports:package:bond_network/src/bond_fire/base_bond_api_request.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.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 4 issues. Showing the first 2:
INFO: Uses 'await' on an instance of 'bool', which is not a subtype of 'Future'.
lib/src/bond_fire/get_bond_api_request.dart:34:24
╷
34 │ final hasCache = await Cache.has(_cacheKey!);
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/bond_fire/get_bond_api_request.dart
INFO: Uses 'await' on an instance of 'T', which is not a subtype of 'Future'.
lib/src/bond_fire/get_bond_api_request.dart:39:17
╷
39 │ await Cache.get(_cacheKey!, fromJsonFactory: _factory);
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/bond_fire/get_bond_api_request.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
bond_cache |
^0.0.1 |
0.0.3+1 | 0.0.3+1 |
bond_core |
^0.0.1 |
0.0.2 | 0.0.2 |
dio |
^5.2.1+1 |
5.7.0 | 5.7.0 |
equatable |
^2.0.5 |
2.0.5 | 2.0.5 |
faker |
^2.0.0 |
2.2.0 | 2.2.0 |
flutter |
flutter |
0.0.0 | 0.0.0 |
json_annotation |
^4.8.1 |
4.9.0 | 4.9.0 |
json_serializable |
^6.7.1 |
6.8.0 | 6.8.0 |
meta |
^1.8.0 |
1.15.0 | 1.16.0 |
package_info_plus |
^4.1.0 |
4.2.0 | 8.1.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
_fe_analyzer_shared |
- | 72.0.0 | 76.0.0 |
_macros |
- | 0.3.2 | 0.3.2 |
analyzer |
- | 6.7.0 | 6.11.0 |
args |
- | 2.6.0 | 2.6.0 |
async |
- | 2.12.0 | 2.12.0 |
build |
- | 2.4.1 | 2.4.1 |
build_config |
- | 1.1.1 | 1.1.1 |
characters |
- | 1.3.0 | 1.3.1 |
checked_yaml |
- | 2.0.3 | 2.0.3 |
collection |
- | 1.18.0 | 1.19.1 |
convert |
- | 3.1.2 | 3.1.2 |
crypto |
- | 3.0.6 | 3.0.6 |
dart_style |
- | 2.3.7 | 2.3.7 |
dio_web_adapter |
- | 2.0.0 | 2.0.0 |
ffi |
- | 2.1.3 | 2.1.3 |
file |
- | 7.0.1 | 7.0.1 |
flutter_web_plugins |
- | 0.0.0 | 0.0.0 |
get_it |
- | 7.7.0 | 8.0.2 |
glob |
- | 2.1.2 | 2.1.2 |
http |
- | 1.2.2 | 1.2.2 |
http_parser |
- | 4.0.2 | 4.1.1 |
logging |
- | 1.3.0 | 1.3.0 |
macros |
- | 0.1.2-main.4 | 0.1.3-main.0 |
material_color_utilities |
- | 0.11.1 | 0.12.0 |
package_config |
- | 2.1.0 | 2.1.0 |
package_info_plus_platform_interface |
- | 2.0.1 | 3.0.1 |
path |
- | 1.9.1 | 1.9.1 |
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 |
pub_semver |
- | 2.1.4 | 2.1.4 |
pubspec_parse |
- | 1.3.0 | 1.3.0 |
shared_preferences |
- | 2.3.2 | 2.3.2 |
shared_preferences_android |
- | 2.3.3 | 2.3.3 |
shared_preferences_foundation |
- | 2.5.3 | 2.5.3 |
shared_preferences_linux |
- | 2.4.1 | 2.4.1 |
shared_preferences_platform_interface |
- | 2.4.1 | 2.4.1 |
shared_preferences_web |
- | 2.4.2 | 2.4.2 |
shared_preferences_windows |
- | 2.4.1 | 2.4.1 |
sky_engine |
- | 0.0.99 | 0.0.99 |
source_gen |
- | 1.5.0 | 1.5.0 |
source_helper |
- | 1.3.4 | 1.3.4 |
source_span |
- | 1.10.0 | 1.10.0 |
string_scanner |
- | 1.4.0 | 1.4.0 |
term_glyph |
- | 1.2.1 | 1.2.1 |
typed_data |
- | 1.4.0 | 1.4.0 |
vector_math |
- | 2.1.4 | 2.1.4 |
watcher |
- | 1.1.0 | 1.1.0 |
web |
- | 1.1.0 | 1.1.0 |
win32 |
- | 5.7.2 | 5.7.2 |
xdg_directories |
- | 1.1.0 | 1.1.0 |
yaml |
- | 3.1.2 | 3.1.2 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^4.1.0` on package_info_plus does not support the stable version `5.0.0`.
Try running dart pub upgrade --major-versions package_info_plus
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_IDENTIFIER
-lib/src/converters/response_converter.dart:10:28
- Undefined name 'appProviders'.NON_TYPE_AS_TYPE_ARGUMENT
-lib/src/converters/response_converter.dart:10:51
- The name 'ResponseDecoding' isn't a type, so it can't be used as a type argument.
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.13
, Flutter 3.24.3
, Dart 3.5.3
.
Check the analysis log for details.