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 (!iterateJsonFiles()) return false;
return true;
}