JsonFile.list constructor
JsonFile.list(})
As a way to easily generate .json files, you can use the JsonFile wrapper. Just provide a list and a path
| constructor | |
|---|---|
| String | path of the file(without .json extension) |
| Map | the content of the file |
| useGson | whether to generate gson or plain json |
Implementation
JsonFile.list(
this.path,
this.contentsList, {
this.useGson = false,
this.inheritFolder = false,
}) : contents = null;