processFile function

void processFile(
  1. File file
)

Implementation

void processFile(File file) {
  print('Processing ${file.path}...');
  var content = file.readAsStringSync();
  var result = processContent(file, content);

  file.writeAsStringSync(result);
}