okdio 0.1.6
okdio: ^0.1.6 copied to clipboard

okdio is an dio client generator using source_gen and inspired from retrofit based on chopper

0
likes
70 / 110
pub points
0 %
popularity

We analyzed this package on Apr 8, 2021, and awarded it 70 pub points (of a possible 110):

Follow Dart file conventions
20 / 20

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
10 / 20

10/10 points: Package has an example

  • Found example at: example/main.dart

0/10 points: 20% or more of the public API has dartdoc comments

  • 21 out of 165 API elements (12.7 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

Support multiple platforms
10 / 20

10/20 points: Supports 1 of 2 possible platforms (native, js)

Consider supporting multiple platforms:

Package not compatible with runtime js

Because:

  • package:okdio/okdio.dart that imports:
  • package:okdio/src/response.dart that imports:
  • dart:io
Pass static analysis
20 / 30

20/30 points: code has no errors, warnings, lints, or formatting issues

Found 28 issues. Showing the first 2:

INFO: Use `=` to separate a named parameter from its default value.

lib/src/annotations.dart:15:17

   ╷
15 │     this.baseUrl: "/",
   │                 ^
   ╵

To reproduce make sure you are using pedantic and run dartanalyzer lib/src/annotations.dart

INFO: Use `=` to separate a named parameter from its default value.

lib/src/annotations.dart:77:39

   ╷
77 │   const Method(this.method, {this.path: "/", this.headers: const {}});
   │                                       ^
   ╵

To reproduce make sure you are using pedantic and run dartanalyzer lib/src/annotations.dart

Support up-to-date dependencies
10 / 20

0/10 points: All of the package dependencies are supported in the latest version

  • Could not run pub outdated: pub get failed:
Because okdio depends on okdio_generator from path which doesn't exist (could not find package okdio_generator at "../okdio_generator"), version solving failed.

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

Analysed with Pana 0.15.4, Dart 2.12.2.

0
likes
70
pub points
0%
popularity

okdio is an dio client generator using source_gen and inspired from retrofit based on chopper

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

cjasq1@gmail.com

License

MIT (LICENSE)

Dependencies

dio, dson, logging, meta, rxdart

More

Packages that depend on okdio