CacheObject constructor

CacheObject(
  1. String url, {
  2. String? key,
  3. required String relativePath,
  4. required DateTime validTill,
  5. String? eTag,
  6. int? id,
  7. int? length,
  8. DateTime? touched,
})

Implementation

CacheObject(
  this.url, {
  String? key,
  required this.relativePath,
  required this.validTill,
  this.eTag,
  this.id,
  this.length,
  this.touched,
}) : key = key ?? url;