scm_network 0.0.1 copy "scm_network: ^0.0.1" to clipboard
scm_network: ^0.0.1 copied to clipboard

http based network preset

110/ 160
pub points
6
downloads

We analyzed this package 31 hours ago, and awarded it 110 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.

Repository has multiple matching pubspec.yaml with name: scm_network.

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: scm_network,
    • contains a version property, and,
    • does not contain a publish_to property.

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.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

15 out of 52 API elements (28.8 %) have documentation comments.

Some symbols that are missing documentation: api_failure, api_failure.ApiFailure, api_failure.ApiFailure.ApiFailure.clientError, api_failure.ApiFailure.ApiFailure.serverError, api_failure.ApiFailure.message.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Passed 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

WASM-ready: This package is compatible with runtime wasm. See https://dart.dev/web/wasm for details.

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

Failed check 30/50 points: code has no errors, warnings, lints, or formatting issues

Found 11 issues. Showing the first 2:

WARNING: Returning a 'Future' without 'await' inside a try block.

lib/base/http_retry_policy.dart:29:9

   ╷
29 │         return refreshToken(url?.toString());
   │         ^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/base/http_retry_policy.dart

WARNING: The value of the local variable 'newAccessToken' isn't used.

lib/base/http_retry_policy.dart:63:13

   ╷
63 │       final newAccessToken = body['access_token'];
   │             ^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/base/http_retry_policy.dart

Failed report section
Support up-to-date dependencies
30 / 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
dartz ^0.10.1 0.10.1 0.10.1
freezed ^3.2.3 3.2.5 4.0.2
freezed_annotation ^3.1.0 3.1.0 3.1.0
get ^4.7.2 4.7.3 4.7.3
http ^1.5.0 1.6.0 1.6.0
http_interceptor ^2.0.0 2.0.0 3.0.0
injectable ^2.5.2 2.7.1+4 3.0.0
Transitive dependencies
Package Constraint Compatible Latest Notes
_fe_analyzer_shared - 96.0.0 108.0.0
analyzer - 10.2.0 14.4.0
args - 2.7.0 2.7.0
async - 2.13.1 2.13.1
build - 4.0.7 4.0.11
build_config - 1.3.3 1.3.3
characters - 1.4.1 1.4.1
checked_yaml - 2.0.4 2.0.4
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.7 3.0.7
dart_style - 3.1.7 3.1.13
file - 7.0.1 7.0.1
get_it - 9.3.0 9.3.0
glob - 2.2.0 2.2.0
http_parser - 4.1.2 4.1.2
json_annotation - 4.12.0 4.12.0
logging - 1.3.0 1.3.0
material_color_utilities - 0.13.0 0.13.1
meta - 1.19.0 1.19.0
package_config - 2.2.0 3.0.0
path - 1.9.1 1.9.1
pub_semver - 2.2.1 2.2.1
pubspec_parse - 1.6.0 1.6.0
source_gen - 4.2.4 4.3.0
source_span - 1.10.2 1.10.2
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
vector_math - 2.4.3 2.4.3
watcher - 1.2.1 1.2.1
web - 1.1.1 1.1.1
yaml - 3.1.4 3.1.4

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

Found 3 issues. Showing the first 2:

The constraint `^3.2.3` on freezed does not support the stable version `4.0.0`, that was published 29 days ago.

When freezed is 30 days old, this package will no longer be awarded points in this category.

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

The constraint `^2.0.0` on http_interceptor does not support the stable version `3.0.0`.

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

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.19, Flutter 3.47.4, Dart 3.13.3.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
110
points
6
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

http based network preset

License

MIT (license)

Dependencies

dartz, flutter, freezed, freezed_annotation, get, http, http_interceptor, injectable

More

Packages that depend on scm_network