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
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 Apr 23, 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, other
Platform components identified in package:
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.