setupBuildConfig method
void
setupBuildConfig({})
Implementation
void setupBuildConfig({
required bool dryRun,
required bool linkingEnabled,
Map<String, Metadata> metadata = const {},
}) {
json[_dryRunConfigKey] = dryRun;
json[_linkingEnabledKey] = linkingEnabled;
json[_dependencyMetadataKey] = {
for (final key in metadata.keys) key: metadata[key]!.toJson(),
};
}