setupLinkRunConfig method

void setupLinkRunConfig({
  1. required Uri outputDirectory,
  2. required Uri outputDirectoryShared,
  3. required Uri? recordedUsesFile,
})

Implementation

void setupLinkRunConfig({
  required Uri outputDirectory,
  required Uri outputDirectoryShared,
  required Uri? recordedUsesFile,
}) {
  json[_outDirConfigKey] = outputDirectory.toFilePath();
  json[_outDirSharedConfigKey] = outputDirectoryShared.toFilePath();
  if (recordedUsesFile != null) {
    json[_recordedUsagesFileConfigKey] = recordedUsesFile.toFilePath();
  }
}