simple_json_persistence 2.2.0
simple_json_persistence: ^2.2.0 copied to clipboard
Flutter data storage based on simple json files with support for multiple storage instances, streams, etc.
We analyzed this package 4 days ago, and awarded it 150 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: MIT
.
10/10 points: 20% or more of the public API has dartdoc comments
16 out of 39 API elements (41.0 %) have documentation comments.
Some symbols that are missing documentation: simple_json_persistence
, simple_json_persistence.BaseDirectoryBuilder
, simple_json_persistence.FromJson
, simple_json_persistence.HasToJson
, simple_json_persistence.HasToJson.HasToJson.new
.
10/10 points: Package has an example
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
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.
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: '[]' is deprecated and shouldn't be used. Use Storage.getItem instead.
lib/src/persistence_html.dart:32:17
╷
32 │ final ret = _storage[_name];
│ ^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/persistence_html.dart
INFO: '[]=' is deprecated and shouldn't be used. Use Storage.setItem instead.
lib/src/persistence_html.dart:41:5
╷
41 │ _storage[_name] = data;
│ ^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/persistence_html.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
logging |
>=1.0.0 <2.0.0 |
1.3.0 | 1.3.0 | |
meta |
>=1.3.0 <2.0.0 |
1.16.0 | 1.16.0 | |
path |
>=1.8.0 <2.0.0 |
1.9.1 | 1.9.1 | |
path_provider |
>=2.0.0 <3.0.0 |
2.1.5 | 2.1.5 | |
rxdart |
>=0.26.0 <1.0.0 |
0.28.0 | 0.28.0 | |
string_literal_finder_annotations |
>=1.0.0 <2.0.0 |
1.0.0 | 1.0.0 | |
synchronized |
>=3.0.0 <4.0.0 |
3.3.1 | 3.3.1 | |
web |
>=0.5.1 <2.0.0 |
1.1.1 | 1.1.1 |
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 | |
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 | |
vector_math |
- | 2.1.4 | 2.1.4 | |
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.20
, Flutter 3.29.2
, Dart 3.7.2
.
Check the analysis log for details.