dio_retry_fixed 0.1.15-beta-null-safety
dio_retry_fixed: ^0.1.15-beta-null-safety copied to clipboard
A patched version of dio_retry
We analyzed this package 10 days ago, and awarded it 70 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.
Failed to verify repository URL.
Please provide a valid repository URL in pubspec.yaml, such that:
repositorycan be cloned,- a clone of the repository contains a
pubspec.yaml, which:,- contains
name: dio_retry_fixed, - contains a
versionproperty, and, - does not contain a
publish_toproperty.
- contains
Repository has no matching pubspec.yaml with name: dio_retry_fixed.
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
8 out of 28 API elements (28.6 %) have documentation comments.
Some symbols that are missing documentation: dio_retry, dio_retry.ErrorResult, dio_retry.ErrorResult.ErrorResult.new, dio_retry.ErrorResult.error, dio_retry.ErrorResult.response.
10/10 points: Package has an example
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
0/0 points: WASM compatibility
Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.
See https://dart.cn/web/wasm for details.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 27 issues. Showing the first 2:
ERROR: 'RetryInterceptor.onError' ('void Function(DioError)') isn't a valid override of 'Interceptor.onError' ('void Function(DioError, ErrorInterceptorHandler)').
lib/src/retry_interceptor.dart:18:3
╷
18 │ onError(DioError err) async {
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/retry_interceptor.dart
ERROR: The getter 'request' isn't defined for the type 'DioError'.
lib/src/retry_interceptor.dart:19:44
╷
19 │ var extra = RetryOptions.fromExtra(err.request!) ?? this.options;
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/retry_interceptor.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
dio |
^4.0.0-beta5 |
4.0.6 | 5.9.0 | |
meta |
^1.3.0 |
1.17.0 | 1.17.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
collection |
- | 1.19.1 | 1.19.1 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
path |
- | 1.9.1 | 1.9.1 | |
source_span |
- | 1.10.1 | 1.10.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^4.0.0-beta5` 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
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 15 errors:
INVALID_OVERRIDE-lib/src/retry_interceptor.dart:18:3- 'RetryInterceptor.onError' ('void Function(DioError)') isn't a valid override of 'Interceptor.onError' ('void Function(DioError, ErrorInterceptorHandler)').UNDEFINED_GETTER-lib/src/retry_interceptor.dart:19:44- The getter 'request' isn't defined for the type 'DioError'.UNDEFINED_GETTER-lib/src/retry_interceptor.dart:30:11- The getter 'request' isn't defined for the type 'DioError'.
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.24, Dart 3.9.4.
Check the analysis log for details.