http_encapsulation 0.0.4
http_encapsulation: ^0.0.4 copied to clipboard
http_encapsulation工具。一款简单二次封装dio的package
We analyzed this package on Jan 26, 2021, and awarded it 70 pub points (of a possible 110):
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 60 to 180 characters to describe the package, what it does, and its target use case.
The package description contains too many non-ASCII characters.
The site uses English as its primary language. The content of the description
field in your package's pubspec.yaml
should primarily contain characters used in English.
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
0/10 points: 20% or more of the public API has dartdoc comments
- 13 out of 75 API elements (17.3 %) 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.
20/20 points: Supports 3 of 3 possible platforms (iOS, Android, Web)
20/30 points: code has no errors, warnings, lints, or formatting issues
Found 27 issues. Showing the first 2:
INFO: Prefer using /// for doc comments.
lib/com/tcl/flutter/http/EntityFactory.dart:5:1
╷
5 │ ┌ /**
6 │ │ * Json转换辅助工厂,把json转为T
7 │ └ */
╵
To reproduce make sure you are using pedantic and run flutter analyze lib/com/tcl/flutter/http/EntityFactory.dart
INFO: Prefer using /// for doc comments.
lib/com/tcl/flutter/http/ErrorEntity.dart:1:1
╷
1 │ ┌ /**
2 │ │ * 请求报错基类,{"code":0, "message":""}
3 │ └ */
╵
To reproduce make sure you are using pedantic and run flutter analyze lib/com/tcl/flutter/http/ErrorEntity.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
dio | ^3.0.9 | 3.0.10 | 3.0.10 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
characters | - | 1.1.0-nullsafety.5 | 1.1.0-nullsafety.5 |
charcode | - | 1.1.3 | 1.2.0-nullsafety.3 |
collection | - | 1.15.0-nullsafety.5 | 1.15.0-nullsafety.5 |
http_parser | - | 3.1.4 | 3.1.4 |
meta | - | 1.3.0-nullsafety.6 | 1.3.0-nullsafety.6 |
path | - | 1.7.0 | 1.8.0-nullsafety.3 |
source_span | - | 1.7.0 | 1.8.0-nullsafety.4 |
string_scanner | - | 1.0.5 | 1.1.0-nullsafety.3 |
term_glyph | - | 1.1.0 | 1.2.0-nullsafety.3 |
typed_data | - | 1.3.0-nullsafety.5 | 1.3.0-nullsafety.5 |
vector_math | - | 2.1.0-nullsafety.5 | 2.1.0-nullsafety.5 |
To reproduce run pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.