hasura_connect 4.0.0+2
hasura_connect: ^4.0.0+2 copied to clipboard
Connect your Flutter/Dart apps to Hasura simply. All the power of GraphQL and Postgres in Flutter.
We analyzed this package 2 days ago, and awarded it 110 pub points (of a possible 130):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Package has an example
0/10 points: 20% or more of the public API has dartdoc comments
- 10 out of 106 API elements (9.4 %) 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.
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, MacOS, Linux)
- ✓ Android
- ✓ iOS
- ✓ Windows
- ✓ Linux
- ✓ MacOS
- ✓ Web
20/30 points: code has no errors, warnings, lints, or formatting issues
Found 22 issues. Showing the first 2:
INFO: This function has a nullable return type of 'Future
lib/src/core/interceptors/interceptor.dart:20:17
╷
20 │ Future<void>? onConnected(HasuraConnect connect) {}
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/core/interceptors/interceptor.dart
INFO: This function has a nullable return type of 'Future
lib/src/core/interceptors/interceptor.dart:23:17
╷
23 │ Future<void>? onDisconnected() {}
│ ^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/core/interceptors/interceptor.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
async | ^2.6.1 | 2.9.0 | 2.9.0 |
collection | ^1.15.0 | 1.16.0 | 1.16.0 |
dart_websocket | ^1.0.0 | 1.0.0 | 1.0.0 |
either_dart | ^0.1.3 | 0.1.4 | 0.1.4 |
http | ^0.13.0 | 0.13.4 | 0.13.4 |
meta | ^1.3.0 | 1.8.0 | 1.8.0 |
string_validator | ^0.3.0 | 0.3.0 | 0.3.0 |
uuid | ^3.0.4 | 3.0.6 | 3.0.6 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
crypto | - | 3.0.2 | 3.0.2 |
http_parser | - | 4.0.1 | 4.0.1 |
path | - | 1.8.2 | 1.8.2 |
source_span | - | 1.9.0 | 1.9.0 |
string_scanner | - | 1.1.1 | 1.1.1 |
term_glyph | - | 1.2.1 | 1.2.1 |
typed_data | - | 1.3.1 | 1.3.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
20/20 points: Package and dependencies are fully migrated to null safety!
Analysed with Pana 0.21.13
, Dart 2.17.5
.