json_rest_api_client 0.1.5 icon indicating copy to clipboard operation
json_rest_api_client: ^0.1.5 copied to clipboard

Easy to use starting point to implement a client library for a json REST API.

2
likes
120/ 140
pub points
15%
popularity

We analyzed this package 4 days ago, and awarded it 120 pub points (of a possible 140):

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

0/10 points: Provide a valid pubspec.yaml

Homepage URL doesn't exist.

At the time of the analysis https://gitlab.com/famedly/libraries/json-rest-api-client was unreachable. Make sure that the website is reachable via HEAD requests.

Repository URL doesn't exist.

At the time of the analysis https://gitlab.com/famedly/libraries/json-rest-api-client was unreachable. Make sure that the website is reachable via HEAD requests.

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.

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

10/10 points: Package has an example

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

  • 30 out of 32 API elements (93.8 %) have documentation comments.
icon indicating section status
Platform support
20 / 20icon to trigger folding of the section

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

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ MacOS
  • ✓ Web
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

INFO: The '?' is unnecessary because 'dynamic' is nullable without it.

lib/src/json_rest_api_client.dart:108:12

    ╷
108 │     dynamic? json,
    │            ^
    ╵

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

INFO: Invocation of Iterable

lib/src/json_rest_api_client.dart:131:9

    ╷
131 │     if (['PUT', 'POST', 'PATCH'].contains(method)) {
    │         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

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

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

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

PackageConstraintCompatibleLatest
http^0.13.10.13.50.13.5
Transitive dependencies
PackageConstraintCompatibleLatest
async-2.10.02.10.0
collection-1.17.01.17.0
http_parser-4.0.24.0.2
meta-1.8.01.8.0
path-1.8.21.8.2
source_span-1.9.11.9.1
string_scanner-1.2.01.2.0
term_glyph-1.2.11.2.1
typed_data-1.3.11.3.1

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

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

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

20/20 points: Package and dependencies are fully migrated to null safety!

Analysed with Pana 0.21.21, Dart 2.18.4.

2
likes
120
pub points
15%
popularity

Publisher

verified publisher iconfamedly.com

Easy to use starting point to implement a client library for a json REST API.

Documentation

API reference

License

Icon for licenses.MIT (LICENSE)

Dependencies

http

More

Packages that depend on json_rest_api_client