run method
Implementation
bool run({command}) {
// run
// get all json files ./jsons
list = onlyFile == null ? getAllJsonFiles() : [File(path.join(srcDir, onlyFile))];
if (!generateModelsDirectory()) return false;
if (!iterateJsonFile()) return false;
return true;
}