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

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

1
likes
135/ 160
pub points
111
downloads

We analyzed this package 18 days ago, and awarded it 135 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

Package not compatible with runtime wasm

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 imports:
  • package:path_provider_platform_interface/path_provider_platform_interface.dart that imports:
  • package:path_provider_platform_interface/src/method_channel_path_provider.dart that imports:
  • package:platform/platform.dart that imports:
  • package:platform/src/interface/local_platform.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and 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
30 / 50trigger folding of the section

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

Found 6 issues. Showing the first 2:

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

INFO: Dangling library doc comment.

lib/database/abstract_base_dao.dart:1:1

  ╷
1 │ /// @date 19/6/22
  │ ^^^^^^^^^^^^^^^^^
  ╵

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

OK
Support up-to-date dependencies
40 / 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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.

1
likes
135
points
111
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