json2dart_db 1.0.8 copy "json2dart_db: ^1.0.8" to clipboard
json2dart_db: ^1.0.8 copied to clipboard

use json2dart_safe togethor to surppot the database,easy support

2
likes
125/ 160
pub points
94
downloads

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

56 out of 94 API elements (59.6 %) have documentation comments.

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

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:json2dart_db/json2dart_db.dart that imports:
  • package:json2dart_db/database/base_db_manager.dart that imports:
  • package:sqflite/sqflite.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `Linux`.

Because:

  • package:json2dart_db/json2dart_db.dart that imports:
  • package:json2dart_db/database/base_db_manager.dart that imports:
  • package:sqflite/sqflite.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `Web`.

Because:

  • package:json2dart_db/json2dart_db.dart that imports:
  • package:json2dart_db/database/base_db_manager.dart that imports:
  • package:sqflite/sqflite.dart that declares support for platforms: Android, iOS, macOS.

0/0 points: WASM compatibility

This package is compatible with runtime wasm, and will be rewarded additional points in a future version of the scoring model.

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

partial
Pass static analysis
40 / 50trigger folding of the section

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

/tmp/pana_GCQWAD/lib/database/abstract_base_dao.dart doesn't match the Dart formatter.

To format your files run: dart format .

/tmp/pana_GCQWAD/lib/database/base_dao.dart doesn't match the Dart formatter.

To format your files run: dart format .

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
sqflite any 2.4.1 2.4.1
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.4.0
collection - 1.19.0 1.19.1
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.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
sqflite_android - 2.4.0 2.4.0
sqflite_common - 2.5.4+6 2.5.4+6
sqflite_darwin - 2.4.1 2.4.1
sqflite_platform_interface - 2.4.0 2.4.0
synchronized - 3.3.0+3 3.3.0+3
vector_math - 2.1.4 2.1.4

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:

  • ARGUMENT_TYPE_NOT_ASSIGNABLE - lib/database/base_db_manager.dart:40:24 - The argument type 'String?' can't be assigned to the parameter type 'String'.

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.

2
likes
125
points
94
downloads

Publisher

unverified uploader

Weekly Downloads

use json2dart_safe togethor to surppot the database,easy support

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, json2dart_safe, path, sqflite

More

Packages that depend on json2dart_db