DVAssetHttpPolicy constructor

const DVAssetHttpPolicy({
  1. int? maxAge,
  2. int? sMaxAge,
  3. int? staleWhileRevalidate,
  4. List<String> immutable = const <String>[],
  5. String documents = 'no-cache',
  6. int memoryCacheBytes = 16 * 1024 * 1024,
  7. bool diskCache = true,
})

Implementation

const DVAssetHttpPolicy({
  this.maxAge,
  this.sMaxAge,
  this.staleWhileRevalidate,
  this.immutable = const <String>[],
  this.documents = 'no-cache',
  this.memoryCacheBytes = 16 * 1024 * 1024,
  this.diskCache = true,
});