这是indexloc提供的服务,不要输入任何密码

simple_json_persistence 2.2.0 copy "simple_json_persistence: ^2.2.0" to clipboard
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.

150/ 160
pub points
69
downloads

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

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

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

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

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

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

Detected license: MIT.

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

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.

Passed check 10/10 points: Package has an example

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

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

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

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 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

Passed report section
Support up-to-date dependencies
40 / 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
logging >=1.0.0 <2.0.0 1.3.0 1.3.0
meta >=1.3.0 <2.0.0 1.17.0 1.17.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.4.0 3.4.0
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.1
collection - 1.19.1 1.19.1
ffi - 2.1.4 2.1.4
material_color_utilities - 0.11.1 0.13.0
path_provider_android - 2.2.20 2.2.20
path_provider_foundation - 2.4.3 2.4.3
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.2.0 2.2.0
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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.1, Flutter 3.38.0, Dart 3.10.0-290.4.beta.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
5
likes
150
points
69
downloads

Publisher

verified publishercodeux.design

Weekly Downloads

Flutter data storage based on simple json files with support for multiple storage instances, streams, etc.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, logging, meta, path, path_provider, rxdart, string_literal_finder_annotations, synchronized, web

More

Packages that depend on simple_json_persistence