provides a transformer that compresses json files
json_compressor provides two parameters: 'debugMode' and 'prodMode', both are optional.
dev_dependencies: json_compressor: ^1.0.0 transformers: - json_compressor: debugMode: indent1 prodMode: no_indent
Add this to your package's pubspec.yaml file:
dependencies: json_compressor: "^1.0.0"
You can install packages from the command line:
$ pub get
$ flutter packages get
Alternatively, your editor might support
pub get or
flutter packages get.
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
|1.0.0||Feb 5, 2017|
We analyzed this package on Jun 12, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
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]
Detected platforms: Flutter, web, other
Platform components identified in package:
Package is getting outdated.
The package was released 70 weeks ago.
Maintain an example.
Create a short demo in the
example/directory to show how to use this package. Common file name patterns include:
example.dartor you could also use
Fix analysis and formatting issues.
Analysis or formatting checks reported 2 hints.