json2dart_db 1.0.7 json2dart_db: ^1.0.7 copied to clipboard
use json2dart_safe togethor to surppot the database,easy support
We analyzed this package 18 hours ago, and awarded it 85 pub points (of a possible 160):
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
.
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
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
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.
0/50 points: code has no errors, warnings, lints, or formatting issues
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
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.5.8 | 1.5.8 |
path |
any |
1.9.1 | 1.9.1 |
sqflite |
any |
2.4.0 | 2.4.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
characters |
- | 1.3.0 | 1.3.1 |
collection |
- | 1.18.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.99 | 0.0.99 |
sqflite_android |
- | 2.4.0 | 2.4.0 |
sqflite_common |
- | 2.5.4+5 | 2.5.4+5 |
sqflite_darwin |
- | 2.4.1-1 | 2.4.1-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 2 errors:
UNDEFINED_METHOD
-lib/database/base_dao.dart:208:16
- The method 'contains' isn't defined for the type 'Object'.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.13
, Flutter 3.24.3
, Dart 3.5.3
.
Check the analysis log for details.