json_config_builder 0.0.4 copy "json_config_builder: ^0.0.4" to clipboard
json_config_builder: ^0.0.4 copied to clipboard

outdated

A builder to create a configuration dart file from a json spec

Config Builder #

A builder to create a configuration dart file from a json spec

Getting Started #

Create a configuration json file using the name template example.config.json that only uses first level fields and single primitive type arrays.

Example #

{
  "apiUrl": "https://example.com",
  "maxDownloads": 5,
  "friction": 2.54321,
  "logging": true,
  "messages": [
    "message1", 
    "message2", 
    "message3"
  ]
}

Usage #

In your pubspec.yaml:

name: example

...

builders:
  config_builder: ^0.0.1
0
likes
0
pub points
0%
popularity

Publisher

unverified uploader

A builder to create a configuration dart file from a json spec

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

build, build_config, dart_style, meta

More

Packages that depend on json_config_builder