applySpaceMacro function

String applySpaceMacro(
  1. File file,
  2. String content
)

Implementation

String applySpaceMacro(File file, String content) {
  var lines = LineSplitter.split(content).toList();

  lines = removeGeneratedBlocks(lines, 'space');
  lines = _generateCodeBlocks(file, lines);

  return lines.join('\n');
}