apiverve_countryboundaries 1.2.3
apiverve_countryboundaries: ^1.2.3 copied to clipboard
Country Boundaries retrieves GeoJSON border outlines for any country by its two-letter ISO code. Each response includes the country name, geometry type, and boundary coordinate pairs ready for mapping layers.
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_countryboundaries... Discovering libraries... Linking elements... Precaching local docs for 725242 elements... Initialized dartdoc with 400 libraries Generating docs for library apiverve_countryboundaries.dart from package:apiverve_countryboundaries/apiverve_countryboundaries.dart... Documented 1 public library in 20.5 seconds ERR: warning: unresolved doc reference [country] from client.CountryboundariesClient: (file:///tmp/pana_GMFJNW/lib/src/client.dart:53:7) warning: unresolved doc reference [minLength: 2, maxLength: 2] from client.CountryboundariesClient: (file:///tmp/pana_GMFJNW/lib/src/client.dart:53:7) warning: unresolved doc reference [data] from models.PremiumInfo: (file:///tmp/pana_GMFJNW/lib/src/models.dart:36:7) error: file already written at "apiverve_countryboundaries/CountryboundariesDataFeaturesItemGeometryCoordinatesItem0Item/operator_null.html" for symbol models.CountryboundariesDataFeaturesItemGeometryCoordinatesItem0Item.?: (file:///tmp/pana_GMFJNW/lib/src/models.dart:123:6) conflicting with file already generated by models.CountryboundariesDataFeaturesItemGeometryCoordinatesItem0Item.?: (file:///tmp/pana_GMFJNW/lib/src/models.dart:122:6) Dartdoc generates a path and filename to write to for each symbol. [16 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 50 issues. Showing the first 2:
ERROR: Methods must have an explicit list of parameters.
lib/src/models.dart:110:3
╷
110 │ List<CountryboundariesDataFeaturesItemGeometryCoordinatesItem0Item>? 0;
│ ^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/models.dart
ERROR: The string '?' isn't a user-definable operator.
lib/src/models.dart:110:70
╷
110 │ List<CountryboundariesDataFeaturesItemGeometryCoordinatesItem0Item>? 0;
│ ^
╵
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 39 errors:
MISSING_METHOD_PARAMETERS-lib/src/models.dart:110:3- Methods must have an explicit list of parameters.INVALID_OPERATOR-lib/src/models.dart:110:70- The string '?' isn't a user-definable operator.MISSING_FUNCTION_BODY-lib/src/models.dart:110:70- A function body must be provided.
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.5.
Check the analysis log for details.