net_kit 3.5.0 copy "net_kit: ^3.5.0" to clipboard
net_kit: ^3.5.0 copied to clipboard

Netkit is a library that provides a set of tools to work with network requests.

4
likes
140/ 160
pub points
303
downloads

We analyzed this package 41 hours ago, and awarded it 140 pub points (of a possible 160):

OK
Follow Dart file conventions
30 / 30trigger 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

10/10 points: Use an OSI-approved license

Detected license: MIT.

failed
Provide documentation
10 / 20trigger folding of the section

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

OUT: Documenting net_kit... Discovering libraries... Linking elements... ERR: dartdoc 8.3.1 (/tmp/analyzerPMTDIC/pub-cache/global_packages/dartdoc/bin/dartdoc.dart-3.6.0.snapshot) failed: LateInitializationError: Field 'objectClass' has not been initialized. #0 PackageGraph.objectClass (package:dartdoc/src/model/package_graph.dart) #1 Mixin.superclassConstraints.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger 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

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:net_kit/net_kit.dart that imports:
  • package:net_kit/src/manager/net_kit_manager.dart that imports:
  • package:net_kit/src/manager/adapter/io_http_adapter.dart that imports:
  • package:dio/io.dart that imports:
  • package:dio/src/dio/dio_for_native.dart that imports:
  • package:dio/src/adapters/io_adapter.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

partial
Pass static analysis
40 / 50trigger folding of the section

40/50 points: code has no errors, warnings, lints, or formatting issues

INFO: Angle brackets will be interpreted as HTML.

lib/src/model/i_net_kit_model.dart:6:32

  ╷
6 │ /// - INetKitModel fromJson(Map<String, dynamic> json);
  │                                ^^^^^^^^^^^^^^^^^
  ╵

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

INFO: Angle brackets will be interpreted as HTML.

lib/src/model/i_net_kit_model.dart:9:10

  ╷
9 │ /// - Map<String, dynamic>? toJson();
  │          ^^^^^^^^^^^^^^^^^
  ╵

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

OK
Support up-to-date dependencies
40 / 40trigger folding of the section

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

Package Constraint Compatible Latest
dio ^5.7.0 5.7.0 5.7.0
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
collection - 1.19.1 1.19.1
dio_web_adapter - 2.0.0 2.0.0
http_parser - 4.1.2 4.1.2
meta - 1.16.0 1.16.0
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
web - 1.1.0 1.1.0

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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.17, Dart 3.6.0.

Check the analysis log for details.

4
likes
140
points
303
downloads

Publisher

verified publisherbehzod.dev

Weekly Downloads

Netkit is a library that provides a set of tools to work with network requests.

Repository (GitHub)
View/report issues

Topics

#network #network-manager #remote-data #dio

Funding

Consider supporting this project:

github.com
buymeacoffee.com

License

MIT (license)

Dependencies

dio

More

Packages that depend on net_kit