restio 0.10.11 icon indicating copy to clipboard operation
restio: ^0.10.11 copied to clipboard

A simple but powerful HTTP Client for Dart inspired by OkHttp.

25
likes
80/ 130
pub points
66%
popularity

We analyzed this package 4 hours ago, and awarded it 80 pub points (of a possible 130):

icon indicating section status
Follow Dart file conventions
20 / 20icon to trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

icon indicating section status
Provide documentation
10 / 20icon to trigger folding of the section

10/10 points: Package has an example

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

  • 93 out of 872 API elements (10.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.

icon indicating section status
Platform support
20 / 20icon to trigger folding of the section

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:restio/restio.dart that imports:
  • package:restio/src/retrofit/result.dart that imports:
  • package:restio/src/core/request/header/headers.dart that imports:
  • package:restio/src/core/request/header/headers_builder.dart that imports:
  • package:restio/src/core/request/header/header.dart that imports:
  • dart:io
icon indicating section status
Pass static analysis
20 / 30icon to trigger folding of the section

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

Found 30 issues. Showing the first 2:

INFO: The import of 'package:restio/src/common/closeable.dart' is unnecessary because all of the used elements are also provided by the import of 'package:restio/restio.dart'.

lib/src/core/cache/snapshot.dart:2:8

  ╷
2 │ import 'package:restio/src/common/closeable.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/core/cache/snapshot.dart

INFO: The import of 'package:restio/src/core/exceptions.dart' is unnecessary because all of the used elements are also provided by the import of 'package:restio/restio.dart'.

lib/src/core/call/cancellable.dart:4:8

  ╷
4 │ import 'package:restio/src/core/exceptions.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/core/call/cancellable.dart

icon indicating section status
Support up-to-date dependencies
10 / 20icon to trigger folding of the section

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

PackageConstraintCompatibleLatest
brotli^0.3.0+10.3.0+10.5.0
crypto^2.1.42.1.53.0.2
equatable^1.2.01.2.62.0.3
globbing^0.3.10.3.11.0.0
http2^1.0.01.0.12.0.0
http_parser^3.1.43.1.44.0.1
ip^0.1.10.1.10.1.1
meta^1.1.81.8.01.8.0
mime_type^0.3.10.3.21.0.0
path^1.6.41.8.21.8.2
raw^0.2.00.2.00.2.0
string_scanner^1.0.51.1.11.1.1
utf^0.9.0+50.9.0+50.9.0+5
Transitive dependencies
PackageConstraintCompatibleLatest
charcode-1.3.11.3.1
collection-1.16.01.16.0
convert-2.1.13.0.1
fixnum-0.10.111.0.1
matcher-0.12.110.12.11
source_span-1.9.01.9.0
stack_trace-1.10.01.10.0
term_glyph-1.2.01.2.0
typed_data-1.3.11.3.1

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Found 7 issues. Showing the first 2:

The constraint `^0.3.0+1` on brotli does not support the stable version `0.4.0`.

Try running dart pub upgrade --major-versions brotli to update the constraint.

The constraint `^2.1.4` on crypto does not support the stable version `3.0.0`.

Try running dart pub upgrade --major-versions crypto to update the constraint.

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

icon indicating section status
Support sound null safety
0 / 20icon to trigger folding of the section

0/20 points: Package does not opt in to null safety.

Package language version (indicated by the sdk constraint `>=2.8.0 <3.0.0`) is less than 2.12.

Consider migrating.

Analysed with Pana 0.21.12, Dart 2.17.0.

25
likes
80
pub points
66%
popularity

Publisher

verified publisher icontiagohm.dev

A simple but powerful HTTP Client for Dart inspired by OkHttp.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

brotli, crypto, equatable, globbing, http2, http_parser, ip, meta, mime_type, path, raw, string_scanner, utf

More

Packages that depend on restio