dio_retry_fixed 0.1.15-beta-null-safety copy "dio_retry_fixed: ^0.1.15-beta-null-safety" to clipboard
dio_retry_fixed: ^0.1.15-beta-null-safety copied to clipboard

A patched version of dio_retry

70/ 160
pub points
82
downloads

We analyzed this package 10 days ago, and awarded it 70 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
20 / 30trigger folding of the section

Failed check 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:

  • 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.

Repository has no matching pubspec.yaml with name: dio_retry_fixed.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 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.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

Failed check 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.

Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 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

Failed report section
Support up-to-date dependencies
10 / 40trigger folding of the section

Failed check 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.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Failed check 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.

Weekly downloads

Display as:
By versions:
10
likes
70
points
82
downloads

Publisher

verified publisherlewiscianci.com.au

Weekly Downloads

A patched version of dio_retry

Documentation

API reference

License

MIT (license)

Dependencies

dio, meta

More

Packages that depend on dio_retry_fixed