call method

void call()
inherited

Implementation

void call() {
  var mandatoryFiles = getMandatoryFilesToUpdate();
  mandatoryFiles.forEach((file) => checkFileExists(file.path));

  <File>[]
    ..addAll(mandatoryFiles)
    ..addAll(getOptionalFilesToUpdate())
    ..forEach((file) {
      file.writeAsStringSync(writeConfig(file.readAsStringSync()));
    });
}