restoreVersionLibrary function

void restoreVersionLibrary(
  1. String pathToPackageRoot
)

Restores the version.g.dart source from a back made by an earlier call to backupVersionLibrary

Implementation

void restoreVersionLibrary(String pathToPackageRoot) {
  final versionLibrary = versionLibraryPath(pathToPackageRoot);
  restoreFile(versionLibrary);
}