stampBootstrapJs function

String stampBootstrapJs(
  1. String js,
  2. String buildId
)

Returns js (a flutter_bootstrap.js) with script references cache-busted with buildId. Idempotent.

Implementation

String stampBootstrapJs(String js, String buildId) =>
    cacheBustScripts(removeCacheBust(js), buildId);