deleteConfigFile function

void deleteConfigFile({
  1. String filepath = 'config.toml',
})

Implementation

void deleteConfigFile({String filepath = 'config.toml'}) {
  File configFile = File(filepath);
  if (configFile.existsSync()) {
    configFile.deleteSync();
  }
}