Skip to main content

apiverve_countryboundaries 1.2.3 copy "apiverve_countryboundaries: ^1.2.3" to clipboard
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.

40/ 160
pub points
108
downloads

We analyzed this package 2 days ago, and awarded it 40 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 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.

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
0 / 20trigger folding of the section

Failed check 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]

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Failed report section
Platform support
0 / 20trigger folding of the section

Failed check 0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

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

Failed check 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

Failed report section
Support up-to-date dependencies
20 / 40trigger folding of the section

Passed check 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.

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

Failed check 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.

Weekly downloads

Display as:
By versions:
0
likes
40
points
108
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

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.

Homepage
Repository (GitHub)
View/report issues
Contributing

License

MIT (license)

Dependencies

http, http_parser

More

Packages that depend on apiverve_countryboundaries