serverpod_client 2.9.2
serverpod_client: ^2.9.2 copied to clipboard
Base classes for communication with the server.
We analyzed this package 2 days ago, and awarded it 70 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description field of pubspec.yaml. Use 50 to 180 characters to describe the package, what it does, and its target use case.
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: BSD-3-Clause.
10/10 points: 20% or more of the public API has dartdoc comments
334 out of 372 API elements (89.8 %) have documentation comments.
Some symbols that are missing documentation: serverpod_client, serverpod_client.AuthenticationKeyManager.AuthenticationKeyManager.new, serverpod_client.ConnectionAttemptTimedOutException.ConnectionAttemptTimedOutException.new, serverpod_client.ConnectivityMonitor.ConnectivityMonitor.new, serverpod_client.EndpointCaller.EndpointCaller.new.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 34 issues. Showing the first 2:
ERROR: The type 'Stream
lib/src/client_method_stream_manager.dart:436:37
╷
436 │ await for (String jsonData in webSocket.stream) {
│ ^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/client_method_stream_manager.dart
ERROR: The argument type 'dynamic' can't be assigned to the parameter type 'String'.
lib/src/file_uploader.dart:108:21
╷
108 │ url = Uri.parse(data['url']);
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/file_uploader.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
http |
>=1.1.0 <2.0.0 |
1.6.0 | 1.6.0 | |
meta |
^1.11.0 |
1.17.0 | 1.17.0 | |
serverpod_serialization |
2.9.2 |
2.9.2 | 2.9.2 | |
web_socket_channel |
>=2.4.0 <4.0.0 |
3.0.3 | 3.0.3 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
path |
- | 1.9.1 | 1.9.1 | |
source_span |
- | 1.10.1 | 1.10.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
uuid |
- | 4.5.2 | 4.5.2 | |
web |
- | 1.1.1 | 1.1.1 | |
web_socket |
- | 1.0.1 | 1.0.1 | |
yaml |
- | 3.1.3 | 3.1.3 |
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 15 errors:
FOR_IN_OF_INVALID_ELEMENT_TYPE-lib/src/client_method_stream_manager.dart:436:37- The type 'StreamARGUMENT_TYPE_NOT_ASSIGNABLE-lib/src/file_uploader.dart:108:21- The argument type 'dynamic' can't be assigned to the parameter type 'String'.INVALID_ASSIGNMENT-lib/src/file_uploader.dart:111:15- A value of type 'dynamic' can't be assigned to a variable of type 'String?'.
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.2, Dart 3.10.0.
Check the analysis log for details.