ContentDelivery constructor

ContentDelivery(
  1. String directory, {
  2. bool useWatch = true,
  3. bool cacheFiles = true,
  4. bool useLastModified = true,
  5. Future beforeLoad()?,
  6. Map<String, Uint8List> additional = const {},
})

Implementation

ContentDelivery(String directory,
    {this.useWatch = true,
    this.cacheFiles = true,
    this.useLastModified = true,
    this.beforeLoad,
    this.additional = const {}})
    : directory = directory.replaceAll("\\", "/");