apiverve_goldprice 1.2.5
apiverve_goldprice: ^1.2.5 copied to clipboard
Gold Price fetches real-time spot gold prices per troy ounce, gram, and kilogram. Each response includes the update timestamp, 24-hour price change, and market direction, while paid plans add custom c [...]
We analyzed this package 2 days ago, and awarded it 40 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too long.
Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.
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.
0/10 points: 20% or more of the public API has dartdoc comments
OUT: Documenting apiverve_goldprice... Discovering libraries... Linking elements... Precaching local docs for 725398 elements... Initialized dartdoc with 400 libraries Generating docs for library apiverve_goldprice.dart from package:apiverve_goldprice/apiverve_goldprice.dart... Documented 1 public library in 21.6 seconds ERR: warning: unresolved doc reference [currency] from client.GoldpriceClient: (file:///tmp/pana_UKASDG/lib/src/client.dart:55:7) warning: unresolved doc reference [hourly] from client.GoldpriceClient: (file:///tmp/pana_UKASDG/lib/src/client.dart:55:7) warning: unresolved doc reference [daily] from client.GoldpriceClient: (file:///tmp/pana_UKASDG/lib/src/client.dart:55:7) warning: unresolved doc reference [data] from models.PremiumInfo: (file:///tmp/pana_UKASDG/lib/src/models.dart:36:7) error: file already written at "apiverve_goldprice/GoldpriceDataKaratgram/operator_null.html" for symbol models.GoldpriceDataKaratgram.?: (file:///tmp/pana_UKASDG/lib/src/models.dart:150:6) [56 more lines]
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 116 issues. Showing the first 2:
ERROR: Expected to find ';'.
lib/src/models.dart:149:3
╷
149 │ num? 24k;
│ ^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/models.dart
ERROR: Variables must be declared using the keywords 'const', 'final', 'var' or a type name.
lib/src/models.dart:149:3
╷
149 │ num? 24k;
│ ^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/models.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
http |
^1.1.0 |
1.6.0 | 1.6.0 | |
http_parser |
^4.0.0 |
4.1.2 | 4.1.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.1 | 2.13.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
meta |
- | 1.19.0 | 1.19.0 | |
path |
- | 1.9.1 | 1.9.1 | |
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 | |
web |
- | 1.1.2 | 1.1.2 |
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
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 85 errors:
EXPECTED_TOKEN-lib/src/models.dart:149:3- Expected to find ';'.MISSING_CONST_FINAL_VAR_OR_TYPE-lib/src/models.dart:149:3- Variables must be declared using the keywords 'const', 'final', 'var' or a type name.INVALID_OPERATOR-lib/src/models.dart:149:6- The string '?' isn't a user-definable operator.
Run dart pub downgrade and then dart analyze to reproduce the above problem.
You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.23.19, Dart 3.13.7.
Check the analysis log for details.