setupHookConfig method
void
setupHookConfig({})
Implementation
void setupHookConfig({
required Uri packageRoot,
required String packageName,
required OS targetOS,
required List<String> supportedAssetTypes,
required BuildMode? buildMode,
}) {
json[_packageNameConfigKey] = packageName;
json[_packageRootConfigKey] = packageRoot.toFilePath();
json[_targetOSConfigKey] = targetOS.toString();
json[_supportedAssetTypesKey] = supportedAssetTypes;
if (buildMode != null) {
json[_buildModeConfigKey] = buildMode.toString();
}
}