CacheBustingConfig constructor

CacheBustingConfig({
  1. required String mountPrefix,
  2. required Directory fileSystemRoot,
  3. String separator = '@',
})

Implementation

CacheBustingConfig({
  required final String mountPrefix,
  required final Directory fileSystemRoot,
  this.separator = '@',
}) : mountPrefix = _normalizeMount(mountPrefix),
     fileSystemRoot = fileSystemRoot.absolute {
  _validateFileSystemRoot(fileSystemRoot.absolute);
  _validateSeparator(separator);
}