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 5 days ago, and awarded it 70 pub points (of a possible 140):
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 60 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:
repository
can be cloned,- a clone of the repository contains a
pubspec.yaml
, which:,- contains
name: dio_retry_fixed
, - contains a
version
property, and, - does not contain a
publish_to
property.
- 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 27 API elements (29.6 %) have documentation comments.
Some symbols that are missing documentation: dio_retry
, dio_retry.ErrorResult
, dio_retry.ErrorResult.ErrorResult
, 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/50 points: code has no errors, warnings, lints, or formatting issues
Found 20 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 |
---|---|---|---|
dio |
^4.0.0-beta5 |
4.0.6 | 5.4.3+1 |
meta |
^1.3.0 |
1.14.0 | 1.14.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
collection |
- | 1.18.0 | 1.18.0 |
http_parser |
- | 4.0.2 | 4.0.2 |
path |
- | 1.9.0 | 1.9.0 |
source_span |
- | 1.10.0 | 1.10.0 |
string_scanner |
- | 1.2.0 | 1.2.0 |
term_glyph |
- | 1.2.1 | 1.2.1 |
typed_data |
- | 1.3.2 | 1.3.2 |
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
Analyzed with Pana 0.22.3
, Dart 3.3.3
.
Check the analysis log for details.