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
185
downloads

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

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

Passed check 10/10 points: Provide a valid pubspec.yaml

Failed check 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.

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

58 out of 98 API elements (59.2 %) have documentation comments.

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

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 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.

Failed check 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 report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 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("'")) {
    │                ^^^^^^^^
    ╵
copied to clipboard

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

69static Future<String> _createDbPath() async {
   │                         ^^^^^^^^^^^^^
   ╵
copied to clipboard

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

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

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

Package Constraint Compatible Latest Notes
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.5 2.5.5
sqflite_common_ffi any 2.3.5 2.3.5
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.0
collection - 1.19.1 1.19.1
ffi - 2.1.4 2.1.4
material_color_utilities - 0.11.1 0.12.0
meta - 1.16.0 1.16.0
path_provider_android - 2.2.16 2.2.16
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.7.5 2.7.5
synchronized - 3.3.1 3.3.1
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.4
web - 1.1.1 1.1.1
xdg_directories - 1.1.0 1.1.0

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

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Failed check 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.19, Flutter 3.29.1, Dart 3.7.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
Jun 10Jul 8Aug 5Sep 2Sep 30Oct 28Nov 25Dec 23Jan 20Feb 1705101520253035404550>=0.0.0-0 <1.0.0>=1.0.0-0 <2.0.0
1
likes
85
points
185
downloads

Publisher

unverified uploader

Weekly Downloads

2024.08.26 - 2025.03.10

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