spartera_api_sdk 1.0.74
spartera_api_sdk: ^1.0.74 copied to clipboard
Official Flutter/Dart SDK for the Spartera API platform
We analyzed this package 26 days ago, and awarded it 75 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
No `CHANGELOG.md` found.
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
10/10 points: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
589 out of 1022 API elements (57.6 %) have documentation comments.
Some symbols that are missing documentation: openapi.api, openapi.api.APIKeysApi, openapi.api.APIKeysApi.APIKeysApi.new, openapi.api.APIKeysApi.apiClient, openapi.api.Alert.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package not compatible with platform Web
Because:
package:spartera_api_sdk/api.dartthat imports:dart:io
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 80 issues. Showing the first 2:
ERROR: The argument type 'Map
lib/model/inline_object.dart:92:17
╷
92 │ errors: json[r'errors'] == null
│ ┌─────────────────^
93 │ │ ? const {}
94 │ │ : mapCastOfType<String, List>(json, r'errors'),
│ └──────────────────────────────────────────────────────────^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/model/inline_object.dart
INFO: The part-of directive uses a library name.
lib/api/alerts_api.dart:11:1
╷
11 │ part of openapi.api;
│ ^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/api/alerts_api.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
collection |
>=1.17.0 <2.0.0 |
1.19.1 | 1.19.1 | |
http |
>=0.13.0 <2.0.0 |
1.6.0 | 1.6.0 | |
intl |
any |
0.20.2 | 0.20.2 | |
meta |
>=1.1.8 <2.0.0 |
1.17.0 | 1.17.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
clock |
- | 1.1.2 | 1.1.2 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
path |
- | 1.9.1 | 1.9.1 | |
source_span |
- | 1.10.1 | 1.10.1 | |
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.1 | 1.1.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
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 1 error:
ARGUMENT_TYPE_NOT_ASSIGNABLE-lib/model/inline_object.dart:92:17- The argument type 'Map<String, List
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.3, Dart 3.10.4.
Check the analysis log for details.