run method

bool run({
  1. dynamic command,
})

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;
}