dart_meteor 3.0.0 copy "dart_meteor: ^3.0.0" to clipboard
dart_meteor: ^3.0.0 copied to clipboard

This library make connection between meteor backend and flutter app easily. Design to work seamlessly with StreamBuilder and FutureBuilder.

20
likes
115/ 140
pub points
72%
popularity

We analyzed this package 36 hours ago, and awarded it 115 pub points (of a possible 140):

partial
Follow Dart file conventions
25 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

5/10 points: Use an OSI-approved license

Detected license: BSD-2-Clause-Views.

The following license are not OSI-approved: `BSD-2-Clause-Views`.

Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.

OK
Provide documentation
20 / 20trigger folding of the section

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

30 out of 101 API elements (29.7 %) have documentation comments.

Some symbols that are missing documentation: dart_meteor.DdpClient, dart_meteor.DdpClient.DdpClient, dart_meteor.DdpClient.PING_SEC_INTERVAL, dart_meteor.DdpClient.PONG_WITHIN_SEC, dart_meteor.DdpClient.apply.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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:dart_meteor/dart_meteor.dart that imports:
  • package:dart_meteor/src/ddp_client.dart that imports:
  • dart:io
failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 5 issues. Showing the first 2:

WARNING: The operand can't be null, so the condition is always 'true'.

lib/src/ddp_client.dart:462:18

    ╷
462 │         if (subs != null) {
    │                  ^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/ddp_client.dart

WARNING: This 'onError' handler must return a value assignable to 'MeteorClientLoginResult?', but ends without returning a value.

lib/src/meteor_client.dart:173:52

    ╷
173 │       _loginWithExistingToken().catchError((error) {});
    │                                                    ^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/meteor_client.dart

OK
Support up-to-date dependencies
20 / 20trigger folding of the section

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

Package Constraint Compatible Latest
crypto ^3.0.1 3.0.3 3.0.3
rxdart ^0.27.0 0.27.7 0.27.7
Transitive dependencies
Package Constraint Compatible Latest
collection - 1.18.0 1.18.0
typed_data - 1.3.2 1.3.2

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

Analyzed with Pana 0.22.3, Dart 3.3.3.

Check the analysis log for details.

20
likes
115
pub points
72%
popularity

Publisher

unverified uploader

This library make connection between meteor backend and flutter app easily. Design to work seamlessly with StreamBuilder and FutureBuilder.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-2-Clause-Views (LICENSE)

Dependencies

crypto, rxdart

More

Packages that depend on dart_meteor