json2dart_dbffi 1.0.7 copy "json2dart_dbffi: ^1.0.7" to clipboard
json2dart_dbffi: ^1.0.7 copied to clipboard

use json2dart_safe togethor to surppot the database for platform contains Android,Ios,Macos,Window and Linux,easy support.

1
likes
85/ 160
pub points
170
downloads

We analyzed this package 4 days ago, and awarded it 85 pub points (of a possible 160):

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

10/10 points: Provide a valid pubspec.yaml

0/5 points: Provide a valid README.md

`README.md` contains too many non-ASCII characters.

The site uses English as its primary language. The content of README.md in your package should primarily contain characters used in English.

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

58 out of 95 API elements (61.1 %) have documentation comments.

Some symbols that are missing documentation: abstract_base_dao.ABBaseDao.addColumn, abstract_base_dao.ABBaseDao.fromJson, base_dao, base_dao.BaseDao.db, base_dao.BaseDao.table.

10/10 points: Package has an example

failed
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 does not support platform `Web`.

Because:

  • package:json2dart_dbffi/json2dart_dbffi.dart that imports:
  • package:json2dart_dbffi/database/base_db_manager.dart that imports:
  • package:path_provider/path_provider.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.

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 5 issues. Showing the first 2:

ERROR: The method 'contains' isn't defined for the type 'Object'.

lib/database/base_dao.dart:208:16

    ╷
208 │         if (id.contains("'")) {
    │                ^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/database/base_dao.dart

WARNING: The declaration '_createDbPath' isn't referenced.

lib/database/base_db_manager.dart:69:25

   ╷
69 │   static Future<String> _createDbPath() async {
   │                         ^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/database/base_db_manager.dart

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

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

Package Constraint Compatible Latest
flutter flutter 0.0.0 0.0.0
json2dart_safe any 1.6.0 1.6.0
path any 1.9.1 1.9.1
path_provider any 2.1.5 2.1.5
sqflite_common any 2.5.4+6 2.5.4+6
sqflite_common_ffi any 2.3.4+4 2.3.4+4
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.4.0
collection - 1.19.0 1.19.1
ffi - 2.1.3 2.1.3
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
path_provider_android - 2.2.15 2.2.15
path_provider_foundation - 2.4.1 2.4.1
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
sky_engine - 0.0.0 0.0.0
sqlite3 - 2.5.0 2.5.0
synchronized - 3.3.0+3 3.3.0+3
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.4
web - 1.1.0 1.1.0
xdg_directories - 1.1.0 1.1.0

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:

  • UNDEFINED_METHOD - lib/database/base_dao.dart:208:16 - The method 'contains' isn't defined for the type 'Object'.

Run flutter pub downgrade and then flutter 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, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.

1
likes
85
points
170
downloads

Publisher

unverified uploader

Weekly Downloads

use json2dart_safe togethor to surppot the database for platform contains Android,Ios,Macos,Window and Linux,easy support.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, json2dart_safe, path, path_provider, sqflite_common, sqflite_common_ffi

More

Packages that depend on json2dart_dbffi