A flutter library for reading config files online or offline.
github
readProperties
readOnlineProperties
readJson
readOnlineJson
readYaml
readOnlineYaml
All method will return a MAP for result. As json and yaml files are designed to support map or LIST as root, config_reader will add a root node for "list".
For example:
json:
[
"Cat",
"Dog",
"Goldfish"
]
yaml:
- Cat
- Dog
- Goldfish
Will return:
{list: [Cat, Dog, Goldfish]}
see test/config_reader_test.dart