firebase_database_rest 1.0.3 copy "firebase_database_rest: ^1.0.3" to clipboard
firebase_database_rest: ^1.0.3 copied to clipboard

A platform independent Dart/Flutter wrapper for the Firebase Realtime Database API based on REST.

18
likes
80/ 160
pub points
66
downloads

We analyzed this package 44 hours ago, and awarded it 80 pub points (of a possible 160):

OK
Follow Dart file conventions
30 / 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

10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

OK
Provide documentation
20 / 20trigger folding of the section

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

208 out of 256 API elements (81.3 %) have documentation comments.

Some symbols that are missing documentation: firebase_database_rest, firebase_database_rest.DbException.copyWith, firebase_database_rest.DbException.toJson, firebase_database_rest.Filter.copyWith, firebase_database_rest.Filter.filters.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

failed
Pass static analysis
0 / 50trigger folding of the section

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

Found 47 issues. Showing the first 2:

ERROR: The function 'FallThroughError' isn't defined.

lib/src/rest/models/stream_event.freezed.dart:25:13

   ╷
25 │       throw FallThroughError();
   │             ^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/rest/models/stream_event.freezed.dart

WARNING: The parameter type of '==' operators should be non-nullable.

lib/src/common/db_exception.freezed.dart:146:17

    ╷
146 │   bool operator ==(dynamic other) {
    │                 ^^
    ╵

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

failed
Support up-to-date dependencies
10 / 40trigger folding of the section

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

Package Constraint Compatible Latest
firebase_auth_rest ^2.0.1 2.0.3 2.0.6
freezed_annotation ^0.14.1 0.14.3 2.4.4
http ^0.13.3 0.13.6 1.2.2
json_annotation ^4.0.1 4.9.0 4.9.0
meta ^1.3.0 1.16.0 1.16.0
path ^1.8.0 1.9.1 1.9.1
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
collection - 1.19.1 1.19.1
http_parser - 4.1.1 4.1.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

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

The constraint `^0.14.1` on freezed_annotation does not support the stable version `0.15.0`.

Try running dart pub upgrade --major-versions freezed_annotation to update the constraint.

The constraint `^0.13.3` on http does not support the stable version `1.0.0`.

Try running dart pub upgrade --major-versions http to update the constraint.

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:

  • UNDEFINED_FUNCTION - lib/src/rest/models/stream_event.freezed.dart:25:13 - The function 'FallThroughError' isn't defined.

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.22.17, Dart 3.6.0.

Check the analysis log for details.

18
likes
80
points
66
downloads

Publisher

verified publisherskycoder42.de

Weekly Downloads

A platform independent Dart/Flutter wrapper for the Firebase Realtime Database API based on REST.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

firebase_auth_rest, freezed_annotation, http, json_annotation, meta, path

More

Packages that depend on firebase_database_rest