shopware_sdk 0.1.0+11

Dart native js
Flutter Android iOS web

A composable, cross-platform, Future-based Dart SDK for the Shopware 5 REST API.

0
likes
90 / 110
pub points
0 %
popularity

We analyzed this package on Sep 23, 2020, and awarded it 90 pub points (of a possible 110):

Follow Dart file conventions
20 / 20

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
10 / 20

10/10 points: Package has an example

  • Found example at: example/main.dart

0/10 points: 20% or more of the public API has dartdoc comments

  • 7 out of 225 API elements (3.1 %) 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.

Support multiple platforms
20 / 20

20/20 points: Supports 2 of 2 possible platforms (native, js)

Pass static analysis
20 / 30

20/30 points: code has no errors, warnings, lints, or formatting issues

Found 13 issues. Showing the first 2:

INFO: Unnecessary new keyword.

lib/src/entities/api_response_entity.dart:37:16

   ╷
37 │     var data = new List<dynamic>();
   │                ^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using pedantic and run dartanalyzer lib/src/entities/api_response_entity.dart

INFO: Unnecessary new keyword.

lib/src/entities/api_response_entity.dart:57:12

   ╷
57 │       return new ApiResponse(
   │ ┌────────────^
58 │ │       entities: entities,
59 │ │       entity: entities.isNotEmpty ? entities[0] : null,
60 │ │       total: json["total"],
61 │ │       success: json["success"],
62 │ │       message: json["message"],
63 │ │       jsonResponse: json,
64 │ │       fromJson: fromJson,
65 │ │     );
   │ └─────^
   ╵

To reproduce make sure you are using pedantic and run dartanalyzer lib/src/entities/api_response_entity.dart

Support up-to-date dependencies
20 / 20

10/10 points: All of the package dependencies are supported in the latest version

PackageConstraintCompatibleLatest
http^0.12.0+20.12.20.12.2
Transitive dependencies
PackageConstraintCompatibleLatest
charcode-1.1.31.1.3
collection-1.14.131.14.13
http_parser-3.1.43.1.4
meta-1.2.31.2.3
path-1.7.01.7.0
pedantic-1.9.21.9.2
source_span-1.7.01.7.0
string_scanner-1.0.51.0.5
term_glyph-1.1.01.1.0
typed_data-1.2.01.2.0

To reproduce run pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

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

0
likes
90
pub points
0%
popularity

A composable, cross-platform, Future-based Dart SDK for the Shopware 5 REST API.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

ernerkin@gmail.com

License

BSD (LICENSE)

Dependencies

http

More

Packages that depend on shopware_sdk