json mixin generation for meta_types
- initial generator implementation
/// See meta_types_redux example for code examples. /// /// use `pub run build_runner build` to run the generator /// /// make sure build_runner meta_types_generator, and meta_types_generator_json are /// dev_dependencies in you pubspec.yaml
Use this package as a library
1. Depend on it
Add this to your package's pubspec.yaml file:
dependencies: meta_types_json_generator: ^0.0.1
2. Install it
You can install packages from the command line:
$ pub get
Alternatively, your editor might support
Check the docs for your editor to learn more.
3. Import it
Now in your Dart code, you can use:
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
We analyzed this package on Oct 21, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
- Dart: 2.5.1
- pana: 0.12.21
Detected platforms: other
Platform components identified in package:
Health issues and suggestions
Document public APIs. (-1 points)
2 out of 2 API elements have no dartdoc comment.Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API.
lib/builder.dart. (-5.36 points)
lib/builder.dart reported 11 hints, including:
line 126 col 7: DO use curly braces for all flow control structures.
line 128 col 7: DO use curly braces for all flow control structures.
line 130 col 7: DO use curly braces for all flow control structures.
line 132 col 7: DO use curly braces for all flow control structures.
line 146 col 7: DO use curly braces for all flow control structures.
Maintenance issues and suggestions
Support latest dependencies. (-20 points)
The version constraint in
pubspec.yaml does not support the latest published versions for 2 dependencies (
Homepage URL doesn't exist. (-20 points)
At the time of the analysis the
https://github.com/davidmarne/dart_meta_types/meta_types_json_generator was unreachable.
Package is getting outdated. (-20.55 points)
The package was last published 62 weeks ago.
The package description is too short. (-20 points)
Add more detail to the
description field of
pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.
Package is pre-v0.1 release. (-10 points)
While nothing is inherently wrong with versions of
0.0.*, it might mean that the author is still experimenting with the general direction of the API.
|Dart SDK||>=2-0-0-dev <3.0.0|