preserve method

void preserve(
  1. String path,
  2. String contents
)

Preserves an intentional generated upgrade after the temporary run.

Implementation

void preserve(String path, String contents) => _originals[path] = contents;