json mixin generation for meta_types
/// 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
Add this to your package's pubspec.yaml file:
dependencies: meta_types_json_generator: ^0.0.1
You can install packages from the command line:
$ pub get
Alternatively, your editor might support
Check the docs for your editor to learn more.
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 Aug 22, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
Detected platforms: other
Platform components identified in package:
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.
Support latest dependencies. (-30 points)
The version constraint in
pubspec.yaml does not support the latest published versions for 3 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.
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.
Package is getting outdated. (-3.84 points)
The package was last published 54 weeks ago.
|Dart SDK||>=2-0-0-dev <3.0.0|