pub run build_runner run
See meta_types/example for examples on how to write model definitions.
/// See meta_types example for code examples. /// /// use `pub run build_runner build` to run the generator /// /// make sure build_runner and meta_types_generator are /// dev_dependencies in you pubspec.yaml
Add this to your package's pubspec.yaml file:
dependencies: meta_types_generator: ^0.1.0
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:
import 'package:meta_types_generator/builder.dart'; import 'package:meta_types_generator/generator_api.dart';
|0.1.0||Aug 7, 2018|
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 Dec 5, 2018, 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 (-9.84 points)
61 out of 62 API elements (library, class, field or method) have no adequate dartdoc content. Good documentation improves code readability and discoverability through search.
Homepage does not exists. (-20 points)
We were unable to access
https://github.com/davidmarne/dart_meta_types/meta_types_generator at the time of the analysis.
The description is too short. (-20 points)
Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.
|Dart SDK||>=2-0-0-dev <3.0.0|