persistent_data 0.1.3

  • Installing
  • Versions
  • 59

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  persistent_data: ^0.1.3

2. Install it

You can install packages from the command line:

with pub:


$ pub get

Alternatively, your editor might support pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:persistent_data/persistent_data.dart';
  
Version Uploaded Documentation Archive
0.1.3 Sep 4, 2018 Go to the documentation of persistent_data 0.1.3 Download persistent_data 0.1.3 archive
0.1.2 Sep 4, 2018 Go to the documentation of persistent_data 0.1.2 Download persistent_data 0.1.2 archive
0.1.1 Jan 30, 2018 Go to the documentation of persistent_data 0.1.1 Download persistent_data 0.1.1 archive
Popularity:
Describes how popular the package is relative to other packages. [more]
56
Health:
Code health derived from static analysis. [more]
92
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
20
Overall:
Weighted score of the above. [more]
59
Learn more about scoring.

We analyzed this package on Jun 21, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.3.2
  • pana: 0.12.18

Platforms

Detected platforms: web

Primary library: package:persistent_data/persistent_data.dart with components: html.

Health suggestions

Fix lib/src/persistent_data_base.dart. (-7.71 points)

Analysis of lib/src/persistent_data_base.dart reported 16 hints, including:

line 11 col 7: DO use curly braces for all flow control structures.

line 13 col 7: DO use curly braces for all flow control structures.

line 25 col 7: DO use curly braces for all flow control structures.

line 50 col 5: DO use curly braces for all flow control structures.

line 77 col 51: Use = to separate a named parameter from its default value.

Format lib/persistent_data.dart.

Run dartfmt to format lib/persistent_data.dart.

Maintenance issues and suggestions

Provide a file named README.md. (-30 points)

The README.md file should inform others about your project, what it does, and how they can use it. See the example generated by stagehand.

Provide a file named CHANGELOG.md. (-20 points)

Changelog entries help developers follow the progress of your package. See the example generated by stagehand.

Homepage URL doesn't exist. (-20 points)

At the time of the analysis the homepage field https://www.github.com/afpatmin/persistent_data was unreachable.

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package.

Common filename patterns include main.dart, example.dart, and persistent_data.dart. Packages with multiple examples should provide example/README.md.

For more information see the pub package layout conventions.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0 <3.0.0
intl ^0.15.7 0.15.8
Transitive dependencies
path 1.6.2