rollapi 1.2.1
rollapi: ^1.2.1 copied to clipboard
Dart library for Roll-API
We analyzed this package 2 days ago, and awarded it 110 pub points (of a possible 140):
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.
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: Apache-2.0
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
10/10 points: 20% or more of the public API has dartdoc comments
- 17 out of 32 API elements (53.1 %) have documentation comments.
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, MacOS, Linux)
- ✓ Android
- ✓ iOS
- ✓ Windows
- ✓ Linux
- ✓ MacOS
- ✓ Web
20/30 points: code has no errors, warnings, lints, or formatting issues
Found 4 issues. Showing the first 2:
INFO: The variable name 'API_BASE_URL' isn't a lowerCamelCase identifier.
lib/src/methods.dart:11:8
╷
11 │ String API_BASE_URL = 'https://roll.lastgimbus.com/api/';
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/methods.dart
INFO: The variable name 'HEADERS' isn't a lowerCamelCase identifier.
lib/src/methods.dart:13:21
╷
13 │ Map<String, String> HEADERS = {};
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/methods.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
args | ^2.0.0 | 2.3.2 | 2.3.2 |
http | ^0.13.1 | 0.13.5 | 0.13.5 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
async | - | 2.10.0 | 2.10.0 |
collection | - | 1.17.1 | 1.17.1 |
http_parser | - | 4.0.2 | 4.0.2 |
meta | - | 1.9.0 | 1.9.0 |
path | - | 1.8.3 | 1.8.3 |
source_span | - | 1.9.1 | 1.9.1 |
string_scanner | - | 1.2.0 | 1.2.0 |
term_glyph | - | 1.2.1 | 1.2.1 |
typed_data | - | 1.3.1 | 1.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
20/20 points: Package and dependencies are fully migrated to null safety!
Analysed with Pana 0.21.25
, Dart 2.19.0
.