CachedAliceHttpResponse constructor

CachedAliceHttpResponse({
  1. int objectId = 0,
  2. int? status = 0,
  3. int size = 0,
  4. DateTime? time,
  5. dynamic body,
  6. Map<String, String>? headers,
})

Implementation

CachedAliceHttpResponse({
  this.objectId = 0,
  this.status = 0,
  this.size = 0,
  DateTime? time,
  this.body,
  this.headers,
}) : time = time ?? DateTime.now();